Mirko Bonadei ab49982601 Fix no_exit_time_destructors in pc.
This CL fixes the following error:
pc/peerconnection.cc:396:7:
error: declaration requires an exit-time destructor
[-Werror,-Wexit-time-destructors]
      proto_media_counter_map = {

It moves the protocol to media map into PeerConnection's attributes, the
map is initialized during PeerConnection::Initialize.
This removes the need of using 'static' and it should not cause too much
overhead since the map is initialized only once for each PeerConnection.

Bug: webrtc:9693
Change-Id: Icd71a70204ccc6fb032af52c64afa59e9aa7af74
Reviewed-on: https://webrtc-review.googlesource.com/98780
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24674}
2018-09-11 09:32:14 +00:00
..
2018-09-11 09:32:14 +00:00
2018-06-19 14:00:39 +00:00
2018-07-23 19:35:28 +00:00
2018-09-06 12:53:19 +00:00
2018-06-19 14:00:39 +00:00
2017-12-12 09:27:07 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-06-19 14:00:39 +00:00
2018-07-19 23:00:20 +00:00
2018-06-19 14:00:39 +00:00
2017-10-30 18:08:29 +00:00