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. |