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

Unified Diff: cc/test/proxy_impl_for_test.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/pixel_test_output_surface.cc ('k') | cc/test/proxy_impl_for_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/proxy_impl_for_test.h
diff --git a/cc/test/proxy_impl_for_test.h b/cc/test/proxy_impl_for_test.h
index 4b807cce6f738b6ea62948d2cccf9374a0303639..891923238466dda12b9494e94ad099ac1e490187 100644
--- a/cc/test/proxy_impl_for_test.h
+++ b/cc/test/proxy_impl_for_test.h
@@ -14,12 +14,12 @@ namespace cc {
// actions.
class ProxyImplForTest : public ProxyImpl {
public:
- static scoped_ptr<ProxyImplForTest> Create(
+ static std::unique_ptr<ProxyImplForTest> Create(
TestHooks* test_hooks,
ChannelImpl* channel_impl,
LayerTreeHost* layer_tree_host,
TaskRunnerProvider* task_runner_provider,
- scoped_ptr<BeginFrameSource> external_begin_frame_source);
+ std::unique_ptr<BeginFrameSource> external_begin_frame_source);
using ProxyImpl::PostAnimationEventsToMainThreadOnImplThread;
using ProxyImpl::DidLoseOutputSurfaceOnImplThread;
@@ -35,11 +35,12 @@ class ProxyImplForTest : public ProxyImpl {
return last_begin_main_frame_args_;
}
- ProxyImplForTest(TestHooks* test_hooks,
- ChannelImpl* channel_impl,
- LayerTreeHost* layer_tree_host,
- TaskRunnerProvider* task_runner_provider,
- scoped_ptr<BeginFrameSource> external_begin_frame_source);
+ ProxyImplForTest(
+ TestHooks* test_hooks,
+ ChannelImpl* channel_impl,
+ LayerTreeHost* layer_tree_host,
+ TaskRunnerProvider* task_runner_provider,
+ std::unique_ptr<BeginFrameSource> external_begin_frame_source);
void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override;
DrawResult ScheduledActionDrawAndSwapIfPossible() override;
« no previous file with comments | « cc/test/pixel_test_output_surface.cc ('k') | cc/test/proxy_impl_for_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698