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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImage.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/SVGImage.h
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
index 77657e21e521738d312036fe70674f3969512efb..3abec1c56366c9ee355ccaf5e7cb1dc50b4970b0 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
@@ -78,7 +78,7 @@ class CORE_EXPORT SVGImage final : public Image {
void advanceAnimationForTesting() override;
SVGImageChromeClient& chromeClientForTesting();
- sk_sp<SkImage> imageForCurrentFrame() override;
+ sk_sp<SkImage> imageForCurrentFrame(const ColorBehavior&) override;
// Does the SVG image/document contain any animations?
bool hasAnimations() const;
@@ -125,7 +125,8 @@ class CORE_EXPORT SVGImage final : public Image {
const FloatRect& fromRect,
const FloatRect& toRect,
RespectImageOrientationEnum,
- ImageClampingMode) override;
+ ImageClampingMode,
+ const ColorBehavior&) override;
void drawForContainer(SkCanvas*,
const SkPaint&,
const FloatSize,
« no previous file with comments | « third_party/WebKit/Source/core/layout/shapes/Shape.cpp ('k') | third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698