Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(264)

Unified Diff: media/blink/video_frame_compositor_unittest.cc

Issue 1904253002: Convert //media/blink from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/blink/video_frame_compositor.h ('k') | media/blink/webaudiosourceprovider_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/video_frame_compositor_unittest.cc
diff --git a/media/blink/video_frame_compositor_unittest.cc b/media/blink/video_frame_compositor_unittest.cc
index 29274d38c5434123d521227787131e7bc75c34a4..754f4e11ef9d2d3d2bd97ed1bce43fc8f22b3dbb 100644
--- a/media/blink/video_frame_compositor_unittest.cc
+++ b/media/blink/video_frame_compositor_unittest.cc
@@ -41,7 +41,7 @@ class VideoFrameCompositorTest : public testing::Test,
opaque_(false) {
compositor_->SetVideoFrameProviderClient(this);
compositor_->set_tick_clock_for_testing(
- scoped_ptr<base::TickClock>(tick_clock_));
+ std::unique_ptr<base::TickClock>(tick_clock_));
// Disable background rendering by default.
compositor_->set_background_rendering_for_testing(false);
}
@@ -114,7 +114,7 @@ class VideoFrameCompositorTest : public testing::Test,
base::MessageLoop message_loop;
base::SimpleTestTickClock* tick_clock_; // Owned by |compositor_|
- scoped_ptr<VideoFrameCompositor> compositor_;
+ std::unique_ptr<VideoFrameCompositor> compositor_;
int did_receive_frame_count_;
int natural_size_changed_count_;
« no previous file with comments | « media/blink/video_frame_compositor.h ('k') | media/blink/webaudiosourceprovider_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698