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

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

Issue 2294383002: Make OffscreenCanvas a member of CanvasImageSource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months 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/WebGLRenderingContextBase.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
index 9ab7ce357243ec920a8918bc3b81f326a6f34408..71209b96e3fc65bf85e8290fd5dda99f3b067afb 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
@@ -411,6 +411,7 @@ public:
DECLARE_TRACE();
};
+ PassRefPtr<Image> getImage(SnapshotReason) const override;
void setFilterQuality(SkFilterQuality) override;
bool isWebGL2OrHigher() { return version() >= 2; }
@@ -1036,7 +1037,7 @@ protected:
void enableOrDisable(GLenum capability, bool enable);
// Clamp the width and height to GL_MAX_VIEWPORT_DIMS.
- IntSize clampedCanvasSize();
+ IntSize clampedCanvasSize() const;
// First time called, if EXT_draw_buffers is supported, query the value; otherwise return 0.
// Later, return the cached value.

Powered by Google App Engine
This is Rietveld 408576698