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

Unified Diff: cc/test/fake_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/test/cc_test_suite.h ('k') | cc/test/fake_channel_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_channel_impl.h
diff --git a/cc/test/fake_channel_impl.h b/cc/test/fake_channel_impl.h
index 179cbc5f7bcf73b57bb0f620c5fc2f415e8b62ce..053a7adeafb096b2c3f027d24b1c87dff04669c8 100644
--- a/cc/test/fake_channel_impl.h
+++ b/cc/test/fake_channel_impl.h
@@ -21,7 +21,7 @@ class FakeChannelImpl : public ChannelImpl {
const RendererCapabilities& capabilities) override {}
void BeginMainFrameNotExpectedSoon() override {}
void DidCommitAndDrawFrame() override {}
- void SetAnimationEvents(scoped_ptr<AnimationEvents> queue) override;
+ void SetAnimationEvents(std::unique_ptr<AnimationEvents> queue) override;
void DidLoseOutputSurface() override {}
void RequestNewOutputSurface() override {}
void DidInitializeOutputSurface(
@@ -29,10 +29,10 @@ class FakeChannelImpl : public ChannelImpl {
const RendererCapabilities& capabilities) override {}
void DidCompletePageScaleAnimation() override {}
void PostFrameTimingEventsOnMain(
- scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
- scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events)
+ std::unique_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
+ std::unique_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events)
override {}
- void BeginMainFrame(scoped_ptr<BeginMainFrameAndCommitState>
+ void BeginMainFrame(std::unique_ptr<BeginMainFrameAndCommitState>
begin_main_frame_state) override {}
};
« no previous file with comments | « cc/test/cc_test_suite.h ('k') | cc/test/fake_channel_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698