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 5103d90473dfc4b5f0f0ef90983f2aac8742f092..4c5824f71f469208ecf09c2479290a9cc46f2047 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
@@ -412,6 +412,7 @@ public: |
DECLARE_TRACE(); |
}; |
+ PassRefPtr<Image> getImage(SnapshotReason) const override; |
void setFilterQuality(SkFilterQuality) override; |
bool isWebGL2OrHigher() { return version() >= 2; } |
@@ -1037,7 +1038,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. |