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 9f075884a4b3b9ae2255f8c8d4fdf01e17af9615..4355caed2a27dd712a886705e5bd9e97539d3cf5 100644 |
--- a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp |
@@ -14,7 +14,6 @@ |
#include "public/platform/WebLayer.h" |
#include "ui/gfx/geometry/size.h" |
#include "wtf/Functional.h" |
-#include "wtf/PtrUtil.h" |
namespace blink { |
@@ -40,9 +39,8 @@ bool CanvasSurfaceLayerBridge::createSurfaceLayer(int canvasWidth, |
m_surfaceLayer->SetSurfaceId(m_surfaceId, 1.f, |
gfx::Size(canvasWidth, canvasHeight)); |
- m_webLayer = wrapUnique( |
- Platform::current()->compositorSupport()->createLayerFromCCLayer( |
- m_surfaceLayer.get())); |
+ m_webLayer = Platform::current()->compositorSupport()->createLayerFromCCLayer( |
+ m_surfaceLayer.get()); |
GraphicsLayer::registerContentsLayer(m_webLayer.get()); |
return true; |
} |