Index: third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.h |
diff --git a/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.h b/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.h |
index 88fc59e7fe59046457070d4439fddfad018838c4..c543150ad70c5cdfce75ba251b3eb9ab7bac3a1d 100644 |
--- a/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.h |
+++ b/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.h |
@@ -52,6 +52,8 @@ private: |
bool m_hasAlpha; |
RefPtr<Image> m_image; |
+ |
+ bool isPaintable() const final { return m_image.get(); } |
}; |
DEFINE_TYPE_CASTS(ImageBitmapRenderingContext, CanvasRenderingContext, context, |