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

Unified Diff: cc/scheduler/begin_frame_source.h

Issue 1866203004: Convert //cc from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptrcc: rebase 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 | « cc/resources/video_resource_updater_unittest.cc ('k') | cc/scheduler/begin_frame_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/begin_frame_source.h
diff --git a/cc/scheduler/begin_frame_source.h b/cc/scheduler/begin_frame_source.h
index fb0c8c3f40c14b5fd5daa0efed4a82432d2c9129..cc238deb616928183134b0f9f2bc2f16f872c880 100644
--- a/cc/scheduler/begin_frame_source.h
+++ b/cc/scheduler/begin_frame_source.h
@@ -215,7 +215,7 @@ class CC_EXPORT SyntheticBeginFrameSource : public BeginFrameSourceBase,
explicit SyntheticBeginFrameSource(base::SingleThreadTaskRunner* task_runner,
base::TimeDelta initial_vsync_interval);
explicit SyntheticBeginFrameSource(
- scoped_ptr<DelayBasedTimeSource> time_source);
+ std::unique_ptr<DelayBasedTimeSource> time_source);
~SyntheticBeginFrameSource() override;
void OnUpdateVSyncParameters(base::TimeTicks new_vsync_timebase,
@@ -235,7 +235,7 @@ class CC_EXPORT SyntheticBeginFrameSource : public BeginFrameSourceBase,
BeginFrameArgs CreateBeginFrameArgs(base::TimeTicks frame_time,
BeginFrameArgs::BeginFrameArgsType type);
- scoped_ptr<DelayBasedTimeSource> time_source_;
+ std::unique_ptr<DelayBasedTimeSource> time_source_;
private:
DISALLOW_COPY_AND_ASSIGN(SyntheticBeginFrameSource);
« no previous file with comments | « cc/resources/video_resource_updater_unittest.cc ('k') | cc/scheduler/begin_frame_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698