Clean up code a bit in MockPeerConnectionImpl. This addresses an issue in non-clang...
commit40cb6e8aa01746da8234334b609d03325b1441fb
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 25 Jul 2014 09:56:34 +0000 (25 09:56 +0000)
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 25 Jul 2014 09:56:34 +0000 (25 09:56 +0000)
tree34f35b75432130d5d631f864f0ccbb706cfde6d2
parentddfd5dea04ab65aff32cb2a0b67aa2063c274301
Clean up code a bit in MockPeerConnectionImpl. This addresses an issue in non-clang builds on ubuntu 12.04 using gcc 4.6.4 which has been in there for a while now:

The error is as follows:

../../content/renderer/media/mock_peer_connection_impl.cc: In member function
'virtual bool content::MockPeerConnectionImpl::GetStats(webrtc::StatsObserver*,
webrtc::MediaStreamTrackInterface*,
webrtc::PeerConnectionInterface::StatsOutputLevel)':
../../content/renderer/media/mock_peer_connection_impl.cc:280:3: error: in C++98
'value' must be initialized by constructor, not by '{...}'
../../content/renderer/media/mock_peer_connection_impl.cc:293:5: error: in C++98
'value2' must be initialized by constructor, not by '{...}'

R=xians@chromium.org

Review URL: https://codereview.chromium.org/415403002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285547 0039d316-1c4b-4281-b951-d872f2087c98
content/renderer/media/mock_peer_connection_impl.cc