Chromium Code Reviews| 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 354141e71e38982b5bba1cc154c859d3a85fe83c..4ce86061fb6d2c1571840c396913a7b571532467 100644 |
| --- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h |
| @@ -1117,6 +1117,8 @@ private: |
| void texImageBitmapByGPU(ImageBitmap*, GLuint, GLenum, GLenum, GLint, bool); |
| const unsigned m_version; |
| + |
| + bool isPaintable() const override { return drawingBuffer(); } |
|
Justin Novosad
2016/08/19 16:49:39
override -> final
xlai (Olivia)
2016/08/19 17:11:34
Done.
|
| }; |
| DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, context->is3d(), context.is3d()); |