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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h

Issue 2753633003: Implement SVGImage::applyShader() (Closed)
Patch Set: rebase Created 3 years, 9 months 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 7c13a84c630d73245cb93136c48d444de38e2f54..1d46edbf2aeb591514fed352b46e8c5caa4bb586 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h
@@ -75,6 +75,8 @@ class SVGImageForContainer final : public Image {
}
bool hasRelativeSize() const override { return m_image->hasRelativeSize(); }
+ bool applyShader(PaintFlags&, const SkMatrix& localMatrix) override;
+
void draw(PaintCanvas*,
const PaintFlags&,
const FloatRect&,

Powered by Google App Engine
This is Rietveld 408576698