Replace scoped_ptr with unique_ptr in webrtc/video/

BUG=webrtc:5520

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

Cr-Commit-Position: refs/heads/master@{#11833}
This commit is contained in:
kwiberg
2016-03-01 11:52:33 -08:00
committed by Commit bot
parent d802b5b7c3
commit 27f982bbcb
22 changed files with 97 additions and 94 deletions

View File

@ -8,9 +8,10 @@
* 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"
#include "webrtc/base/scoped_ptr.h"
#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h"
#include "webrtc/modules/rtp_rtcp/mocks/mock_rtp_rtcp.h"
#include "webrtc/video/payload_router.h"
@ -27,7 +28,7 @@ class PayloadRouterTest : public ::testing::Test {
virtual void SetUp() {
payload_router_.reset(new PayloadRouter());
}
rtc::scoped_ptr<PayloadRouter> payload_router_;
std::unique_ptr<PayloadRouter> payload_router_;
};
TEST_F(PayloadRouterTest, SendOnOneModule) {