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

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

Issue 2753633003: Implement SVGImage::applyShader() (Closed)
Patch Set: rebaseline 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
« no previous file with comments | « third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp
index 36bb45fd0559eb0b74b868198ba08769a382a437..ccd11597bad66453cceadb514ae888f984bb0748 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.cpp
@@ -55,6 +55,12 @@ void SVGImageForContainer::drawPattern(GraphicsContext& context,
m_url);
}
+bool SVGImageForContainer::applyShader(PaintFlags& flags,
+ const SkMatrix& localMatrix) {
+ return m_image->applyShaderForContainer(m_containerSize, m_zoom, m_url, flags,
+ localMatrix);
+}
+
sk_sp<SkImage> SVGImageForContainer::imageForCurrentFrame() {
return m_image->imageForCurrentFrameForContainer(m_url, size());
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698