Index: cc/test/proxy_impl_for_test.cc |
diff --git a/cc/test/proxy_impl_for_test.cc b/cc/test/proxy_impl_for_test.cc |
index da0848ba3bb5e4fa1ae9749f83cf5d51bec7a206..c6fa58623792790b542e5c3727e73d75a4f476df 100644 |
--- a/cc/test/proxy_impl_for_test.cc |
+++ b/cc/test/proxy_impl_for_test.cc |
@@ -4,14 +4,16 @@ |
#include "cc/test/proxy_impl_for_test.h" |
+#include "base/memory/ptr_util.h" |
+ |
namespace cc { |
-scoped_ptr<ProxyImplForTest> ProxyImplForTest::Create( |
+std::unique_ptr<ProxyImplForTest> ProxyImplForTest::Create( |
TestHooks* test_hooks, |
ChannelImpl* channel_impl, |
LayerTreeHost* layer_tree_host, |
TaskRunnerProvider* task_runner_provider, |
- scoped_ptr<BeginFrameSource> external_begin_frame_source) { |
- return make_scoped_ptr(new ProxyImplForTest( |
+ std::unique_ptr<BeginFrameSource> external_begin_frame_source) { |
+ return base::WrapUnique(new ProxyImplForTest( |
test_hooks, channel_impl, layer_tree_host, task_runner_provider, |
std::move(external_begin_frame_source))); |
} |
@@ -29,7 +31,7 @@ ProxyImplForTest::ProxyImplForTest( |
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) |
: ProxyImpl(channel_impl, |
layer_tree_host, |
task_runner_provider, |