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

Unified Diff: cc/test/threaded_channel_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/test_web_graphics_context_3d_unittest.cc ('k') | cc/test/threaded_channel_for_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/threaded_channel_for_test.h
diff --git a/cc/test/threaded_channel_for_test.h b/cc/test/threaded_channel_for_test.h
index 6a47d10cfb990567f9c3ff1101d7001e703ae61b..f48423a0ce060a6d56cbfa3a2b2d9a9d8f8fcc79 100644
--- a/cc/test/threaded_channel_for_test.h
+++ b/cc/test/threaded_channel_for_test.h
@@ -15,7 +15,7 @@ class ProxyImplForTest;
// ThreadedChannel that notifies |test_hooks| of internal actions by ProxyImpl.
class ThreadedChannelForTest : public ThreadedChannel {
public:
- static scoped_ptr<ThreadedChannelForTest> Create(
+ static std::unique_ptr<ThreadedChannelForTest> Create(
TestHooks* test_hooks,
ProxyMain* proxy_main,
TaskRunnerProvider* task_runner_provider);
@@ -27,11 +27,11 @@ class ThreadedChannelForTest : public ThreadedChannel {
ProxyMain* proxy_main,
TaskRunnerProvider* task_runner_provider);
- scoped_ptr<ProxyImpl> CreateProxyImpl(
+ std::unique_ptr<ProxyImpl> CreateProxyImpl(
ChannelImpl* channel_impl,
LayerTreeHost* layer_tree_host,
TaskRunnerProvider* task_runner_provider,
- scoped_ptr<BeginFrameSource> external_begin_frame_source) override;
+ std::unique_ptr<BeginFrameSource> external_begin_frame_source) override;
TestHooks* test_hooks_;
ProxyImplForTest* proxy_impl_for_test_;
« no previous file with comments | « cc/test/test_web_graphics_context_3d_unittest.cc ('k') | cc/test/threaded_channel_for_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698