| Index: third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
|
| index b13d9ad7c36c2260ff386af7f2fdae63c4b4564e..03926147fbe145186792c2cc665dd285f81227be 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
|
| @@ -9,6 +9,7 @@
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebCompositorSupport.h"
|
| #include "public/platform/WebLayer.h"
|
| +#include "wtf/PtrUtil.h"
|
|
|
| namespace blink {
|
|
|
| @@ -16,7 +17,7 @@ CanvasSurfaceLayerBridge::CanvasSurfaceLayerBridge()
|
| {
|
| m_solidColorLayer = cc::SolidColorLayer::Create();
|
| m_solidColorLayer->SetBackgroundColor(SK_ColorBLUE);
|
| - m_webLayer = adoptPtr(Platform::current()->compositorSupport()->createLayerFromCCLayer(m_solidColorLayer.get()));
|
| + m_webLayer = wrapUnique(Platform::current()->compositorSupport()->createLayerFromCCLayer(m_solidColorLayer.get()));
|
| GraphicsLayer::registerContentsLayer(m_webLayer.get());
|
| }
|
|
|
|
|