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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h

Issue 2797213002: Fix BaseRenderingContext2D create/put/get-ImageData() for color managed canvas (Closed)
Patch Set: Addressing comments Created 3 years, 8 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/canvas2d/CanvasRenderingContext2D.h
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h
index 948a9feeb55067aea7f6954d91e2d19b898d809e..a806887dc63781b8901bd283d241be370b1cb179 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h
@@ -232,6 +232,9 @@ class MODULES_EXPORT CanvasRenderingContext2D final
CanvasRenderingContext::ContextType getContextType() const override {
return CanvasRenderingContext::Context2d;
}
+
+ const CanvasRenderingContext* renderingContext() const final;
+
bool is2d() const override { return true; }
bool isComposited() const override;
bool isAccelerated() const override;

Powered by Google App Engine
This is Rietveld 408576698