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