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

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

Issue 2572873002: Add ColorBehavior plumbing for 2D canvas drawImage (Closed)
Patch Set: Created 4 years 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 1fbcc67d26e6a9d446186bc9b17f4c96c92fbd2b..2740912ccf65cfbae826c032e0b1e7257a9d256e 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.h
@@ -197,6 +197,8 @@ class MODULES_EXPORT CanvasRenderingContext2D final
bool isPaintable() const final { return hasImageBuffer(); }
+ ColorBehavior drawImageColorBehavior() const final;
+
private:
friend class CanvasRenderingContext2DAutoRestoreSkCanvas;

Powered by Google App Engine
This is Rietveld 408576698