Replace the remaining scoped_ptr with unique_ptr in webrtc/modules/

(This is a re-land of https://codereview.webrtc.org/1921233002, which
got reverted for breaking Chromium.)

BUG=webrtc:5520

Review URL: https://codereview.webrtc.org/1923133002

Cr-Commit-Position: refs/heads/master@{#12522}
This commit is contained in:
kwiberg
2016-04-27 01:19:58 -07:00
committed by Commit bot
parent 90c335a100
commit 84be511ac0
60 changed files with 195 additions and 138 deletions

View File

@ -8,6 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#include <memory>
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@ -145,7 +147,7 @@ class RtcpReceiverTest : public ::testing::Test {
TestTransport* test_transport_;
RTCPHelp::RTCPPacketInformation rtcp_packet_info_;
MockRemoteBitrateObserver remote_bitrate_observer_;
rtc::scoped_ptr<RemoteBitrateEstimator> remote_bitrate_estimator_;
std::unique_ptr<RemoteBitrateEstimator> remote_bitrate_estimator_;
};