Index: third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h |
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h b/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h |
index 5a2da49c01c5b9b66358dd544f19f05237136a64..021cb84fa9906556dc6eac57209ecd9e84eb3d45 100644 |
--- a/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h |
+++ b/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h |
@@ -34,7 +34,7 @@ |
#include "platform/graphics/ImageBufferSurface.h" |
#include "public/platform/WebGraphicsContext3DProvider.h" |
#include "third_party/skia/include/core/SkSurface.h" |
-#include "wtf/OwnPtr.h" |
+#include <memory> |
namespace blink { |
@@ -51,7 +51,7 @@ public: |
GLuint getBackingTextureHandleForOverwrite() override; |
private: |
- OwnPtr<WebGraphicsContext3DProvider> m_contextProvider; |
+ std::unique_ptr<WebGraphicsContext3DProvider> m_contextProvider; |
sk_sp<SkSurface> m_surface; // Uses m_contextProvider. |
}; |