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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.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/core/svg/graphics/SVGImageForContainer.h
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h b/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h
index 6800d4c4b857b5190f91eef1a30cdea4b8c0a851..61d4e729107f52ef81f00c76172421fe82ac03da 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h
@@ -81,7 +81,8 @@ class SVGImageForContainer final : public Image {
const FloatRect&,
const FloatRect&,
RespectImageOrientationEnum,
- ImageClampingMode) override;
+ ImageClampingMode,
+ const ColorBehavior&) override;
void drawPattern(GraphicsContext&,
const FloatRect&,
@@ -96,7 +97,7 @@ class SVGImageForContainer final : public Image {
return false;
}
- sk_sp<SkImage> imageForCurrentFrame() override;
+ sk_sp<SkImage> imageForCurrentFrame(const ColorBehavior&) override;
private:
SVGImageForContainer(SVGImage* image,

Powered by Google App Engine
This is Rietveld 408576698