Index: third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h |
diff --git a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h |
index 9910182cd379c473bfc51ba11dc2d63d2b038caa..60d9fd2a86f6cf53e334abe5c7552814d9a898ef 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h |
+++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h |
@@ -7,6 +7,7 @@ |
#include "modules/webgl/WebGLExtension.h" |
#include "modules/webgl/WebGLRenderingContextBase.h" |
+#include <memory> |
namespace blink { |
@@ -217,7 +218,7 @@ public: |
DECLARE_VIRTUAL_TRACE(); |
protected: |
- WebGL2RenderingContextBase(HTMLCanvasElement*, PassOwnPtr<WebGraphicsContext3DProvider>, const WebGLContextAttributes& requestedAttributes); |
+ WebGL2RenderingContextBase(HTMLCanvasElement*, std::unique_ptr<WebGraphicsContext3DProvider>, const WebGLContextAttributes& requestedAttributes); |
// Helper function to validate target and the attachment combination for getFramebufferAttachmentParameters. |
// Generate GL error and return false if parameters are illegal. |