Index: third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h |
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h |
index d3d7b2bdabdd7db3ca0a1255d06b6aab76d65de1..bd12bf13dc5d2de9f75df2e808a6c49e70e56166 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h |
@@ -28,7 +28,6 @@ |
#include "core/html/canvas/CanvasRenderingContextFactory.h" |
#include "modules/webgl/WebGLRenderingContextBase.h" |
-#include <memory> |
namespace blink { |
@@ -65,8 +64,8 @@ public: |
DECLARE_VIRTUAL_TRACE_WRAPPERS(); |
private: |
- WebGLRenderingContext(HTMLCanvasElement*, std::unique_ptr<WebGraphicsContext3DProvider>, const WebGLContextAttributes&); |
- WebGLRenderingContext(OffscreenCanvas*, std::unique_ptr<WebGraphicsContext3DProvider>, const WebGLContextAttributes&); |
+ WebGLRenderingContext(HTMLCanvasElement*, PassOwnPtr<WebGraphicsContext3DProvider>, const WebGLContextAttributes&); |
+ WebGLRenderingContext(OffscreenCanvas*, PassOwnPtr<WebGraphicsContext3DProvider>, const WebGLContextAttributes&); |
// Enabled extension objects. |
Member<ANGLEInstancedArrays> m_angleInstancedArrays; |