Index: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp |
index 402465f9f0eee7686aa5bfa9d6dbd236b809426e..0f9a35d76606f2e3aef6adc56d9ec77c091a7d91 100644 |
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp |
@@ -49,7 +49,6 @@ |
#include "third_party/skia/include/gpu/GrContext.h" |
#include "third_party/skia/include/gpu/gl/GrGLTypes.h" |
#include "wtf/CheckedNumeric.h" |
-#include "wtf/PtrUtil.h" |
#include "wtf/typed_arrays/ArrayBufferContents.h" |
#include <algorithm> |
#include <memory> |
@@ -759,9 +758,9 @@ GLuint DrawingBuffer::framebuffer() const { |
WebLayer* DrawingBuffer::platformLayer() { |
if (!m_layer) { |
- m_layer = wrapUnique( |
+ m_layer = |
Platform::current()->compositorSupport()->createExternalTextureLayer( |
- this)); |
+ this); |
m_layer->setOpaque(!m_wantAlphaChannel); |
m_layer->setBlendBackgroundColor(m_wantAlphaChannel); |