Index: cc/blink/web_content_layer_impl.cc |
diff --git a/cc/blink/web_content_layer_impl.cc b/cc/blink/web_content_layer_impl.cc |
index b7a855cd28279f7e24beb1ca9f57d273dbe0c71f..fad754658e94aa69d80a3c298f5eb3b2f9921d72 100644 |
--- a/cc/blink/web_content_layer_impl.cc |
+++ b/cc/blink/web_content_layer_impl.cc |
@@ -7,6 +7,7 @@ |
#include <stddef.h> |
#include "base/command_line.h" |
+#include "base/memory/ptr_util.h" |
#include "cc/base/switches.h" |
#include "cc/blink/web_display_item_list_impl.h" |
#include "cc/layers/picture_layer.h" |
@@ -51,7 +52,7 @@ PaintingControlToWeb( |
WebContentLayerImpl::WebContentLayerImpl(blink::WebContentLayerClient* client) |
: client_(client) { |
- layer_ = make_scoped_ptr(new WebLayerImpl(PictureLayer::Create(this))); |
+ layer_ = base::WrapUnique(new WebLayerImpl(PictureLayer::Create(this))); |
layer_->layer()->SetIsDrawable(true); |
} |