| Index: cc/resources/scoped_ui_resource.cc
|
| diff --git a/cc/resources/scoped_ui_resource.cc b/cc/resources/scoped_ui_resource.cc
|
| index 2db3edd12f5857db10db572ba179bbcbcc2e2f83..4ac336d2fe7dd434b12b3979f97395cfaaea676c 100644
|
| --- a/cc/resources/scoped_ui_resource.cc
|
| +++ b/cc/resources/scoped_ui_resource.cc
|
| @@ -5,14 +5,15 @@
|
| #include "cc/resources/scoped_ui_resource.h"
|
|
|
| #include "base/bind.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "cc/trees/layer_tree_host.h"
|
|
|
| namespace cc {
|
|
|
| -scoped_ptr<ScopedUIResource> ScopedUIResource::Create(
|
| +std::unique_ptr<ScopedUIResource> ScopedUIResource::Create(
|
| LayerTreeHost* host,
|
| const UIResourceBitmap& bitmap) {
|
| - return make_scoped_ptr(new ScopedUIResource(host, bitmap));
|
| + return base::WrapUnique(new ScopedUIResource(host, bitmap));
|
| }
|
|
|
| ScopedUIResource::ScopedUIResource(LayerTreeHost* host,
|
|
|