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

Unified Diff: cc/trees/channel_impl.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/trees/blocking_task_runner_unittest.cc ('k') | cc/trees/channel_main.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/channel_impl.h
diff --git a/cc/trees/channel_impl.h b/cc/trees/channel_impl.h
index d5d3159cc442f641c975196a4e68b1399e4d4b40..f2c29338eaf26d06fa49fb176a33a042081b6b01 100644
--- a/cc/trees/channel_impl.h
+++ b/cc/trees/channel_impl.h
@@ -26,7 +26,7 @@ class CC_EXPORT ChannelImpl {
const RendererCapabilities& capabilities) = 0;
virtual void BeginMainFrameNotExpectedSoon() = 0;
virtual void DidCommitAndDrawFrame() = 0;
- virtual void SetAnimationEvents(scoped_ptr<AnimationEvents> queue) = 0;
+ virtual void SetAnimationEvents(std::unique_ptr<AnimationEvents> queue) = 0;
virtual void DidLoseOutputSurface() = 0;
virtual void RequestNewOutputSurface() = 0;
virtual void DidInitializeOutputSurface(
@@ -34,10 +34,11 @@ class CC_EXPORT ChannelImpl {
const RendererCapabilities& capabilities) = 0;
virtual void DidCompletePageScaleAnimation() = 0;
virtual void PostFrameTimingEventsOnMain(
- scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
- scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) = 0;
+ std::unique_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
+ std::unique_ptr<FrameTimingTracker::MainFrameTimingSet>
+ main_frame_events) = 0;
virtual void BeginMainFrame(
- scoped_ptr<BeginMainFrameAndCommitState> begin_main_frame_state) = 0;
+ std::unique_ptr<BeginMainFrameAndCommitState> begin_main_frame_state) = 0;
protected:
virtual ~ChannelImpl() {}
« no previous file with comments | « cc/trees/blocking_task_runner_unittest.cc ('k') | cc/trees/channel_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698