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

Unified Diff: third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.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/csspaint/PaintRenderingContext2D.h
diff --git a/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h b/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h
index a821724b5cec7473f8947c82e08a24407e092e94..976f34d58754a926caa4e99c7976b6068f21b2a1 100644
--- a/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h
+++ b/third_party/WebKit/Source/modules/csspaint/PaintRenderingContext2D.h
@@ -58,6 +58,8 @@ class MODULES_EXPORT PaintRenderingContext2D
void didDraw(const SkIRect& dirtyRect) final;
+ ColorBehavior drawImageColorBehavior() const final;
+
// TODO(ikilpatrick): We'll need to either only accept resolved filters
// from a typed-om <filter> object, or use the appropriate style resolution
// host to determine 'em' units etc in filters. At the moment just pretend

Powered by Google App Engine
This is Rietveld 408576698