Index: cc/test/fake_scoped_ui_resource.cc |
diff --git a/cc/test/fake_scoped_ui_resource.cc b/cc/test/fake_scoped_ui_resource.cc |
index 0631cd846cd1db247bad09c2919c075e392261ae..81e26d929ab6e621b44fa8b31851c9c50e44d0c7 100644 |
--- a/cc/test/fake_scoped_ui_resource.cc |
+++ b/cc/test/fake_scoped_ui_resource.cc |
@@ -4,6 +4,7 @@ |
#include "cc/test/fake_scoped_ui_resource.h" |
+#include "base/memory/ptr_util.h" |
#include "cc/trees/layer_tree_host.h" |
namespace cc { |
@@ -17,9 +18,9 @@ UIResourceBitmap CreateMockUIResourceBitmap() { |
} // anonymous namespace |
-scoped_ptr<FakeScopedUIResource> FakeScopedUIResource::Create( |
+std::unique_ptr<FakeScopedUIResource> FakeScopedUIResource::Create( |
LayerTreeHost* host) { |
- return make_scoped_ptr(new FakeScopedUIResource(host)); |
+ return base::WrapUnique(new FakeScopedUIResource(host)); |
} |
FakeScopedUIResource::FakeScopedUIResource(LayerTreeHost* host) |