Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h

Issue 2509193002: Correct the OffscreenCanvas.getContext API (Closed)
Patch Set: support webgl2 Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 d86b6a26f77fe12f68355152705ca7beba9a7626..d1529b263ae356e472c92b35f9f665a9f829fc9e 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
@@ -755,6 +755,10 @@ class WebGL2RenderingContextBase : public WebGLRenderingContextBase {
HTMLCanvasElement*,
std::unique_ptr<WebGraphicsContext3DProvider>,
const CanvasContextCreationAttributes& requestedAttributes);
+ WebGL2RenderingContextBase(
+ OffscreenCanvas*,
+ std::unique_ptr<WebGraphicsContext3DProvider>,
+ const CanvasContextCreationAttributes& requestedAttributes);
// DrawingBuffer::Client implementation.
void DrawingBufferClientRestorePixelUnpackBufferBinding() override;

Powered by Google App Engine
This is Rietveld 408576698