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

Unified Diff: third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.h

Issue 1761003003: Use a union typdef for the return type of canvas.getContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final touches Created 4 years, 9 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/imagebitmap/ImageBitmapRenderingContext.h
diff --git a/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.h b/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.h
index 38148256868b28494bd8b94897a12a9f7e7b0d1e..897ab83ba109e89b54bcf09b94cb07bcedf241f0 100644
--- a/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.h
+++ b/third_party/WebKit/Source/modules/imagebitmap/ImageBitmapRenderingContext.h
@@ -37,6 +37,7 @@ public:
void setIsHidden(bool) override { }
bool isContextLost() const override { return false; }
bool paint(GraphicsContext&, const IntRect&) override;
+ void setCanvasGetContextResult(RenderingContext&) final;
// TODO(junov): Implement GPU accelerated rendering using a layer bridge
WebLayer* platformLayer() const override { return nullptr; }

Powered by Google App Engine
This is Rietveld 408576698