Index: webrtc/video/overuse_frame_detector_unittest.cc |
diff --git a/webrtc/video/overuse_frame_detector_unittest.cc b/webrtc/video/overuse_frame_detector_unittest.cc |
index 1a6384ca8a8114281b5275cf4e1e7f8af992d480..06cff38bf61f54f59c7b6db5982098571ad17402 100644 |
--- a/webrtc/video/overuse_frame_detector_unittest.cc |
+++ b/webrtc/video/overuse_frame_detector_unittest.cc |
@@ -8,12 +8,13 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
+#include <memory> |
+ |
#include "webrtc/video/overuse_frame_detector.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/system_wrappers/include/clock.h" |
#include "webrtc/video_frame.h" |
@@ -121,9 +122,9 @@ class OveruseFrameDetectorTest : public ::testing::Test, |
int UsagePercent() { return metrics_.encode_usage_percent; } |
CpuOveruseOptions options_; |
- rtc::scoped_ptr<SimulatedClock> clock_; |
- rtc::scoped_ptr<MockCpuOveruseObserver> observer_; |
- rtc::scoped_ptr<OveruseFrameDetector> overuse_detector_; |
+ std::unique_ptr<SimulatedClock> clock_; |
+ std::unique_ptr<MockCpuOveruseObserver> observer_; |
+ std::unique_ptr<OveruseFrameDetector> overuse_detector_; |
CpuOveruseMetrics metrics_; |
}; |