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

Unified Diff: third_party/WebKit/Source/platform/graphics/GeneratedImage.h

Issue 2559013002: Add ColorBehavior to blink::Image draw methods (Closed)
Patch Set: Rebase 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/platform/graphics/GeneratedImage.h
diff --git a/third_party/WebKit/Source/platform/graphics/GeneratedImage.h b/third_party/WebKit/Source/platform/graphics/GeneratedImage.h
index 4db59e4cd284349631bdac0ca7e959998f287e28..a09a4330a7e6f9e28c475b4cd966b285dd39d113 100644
--- a/third_party/WebKit/Source/platform/graphics/GeneratedImage.h
+++ b/third_party/WebKit/Source/platform/graphics/GeneratedImage.h
@@ -44,7 +44,7 @@ class PLATFORM_EXPORT GeneratedImage : public Image {
// Assume that generated content has no decoded data we need to worry about
void destroyDecodedData() override {}
- sk_sp<SkImage> imageForCurrentFrame() override;
+ sk_sp<SkImage> imageForCurrentFrame(const ColorBehavior&) override;
protected:
void drawPattern(GraphicsContext&,

Powered by Google App Engine
This is Rietveld 408576698