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

Unified Diff: Source/core/rendering/svg/SVGRenderingContext.cpp

Issue 674373004: Drop RenderStyle-arg. from RenderSVGResource{Filter,Masker}::prepareEffect (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | « Source/core/rendering/svg/RenderSVGResourceMasker.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/SVGRenderingContext.cpp
diff --git a/Source/core/rendering/svg/SVGRenderingContext.cpp b/Source/core/rendering/svg/SVGRenderingContext.cpp
index 793371644225a1f466358f5069a91f020b631a8d..20752504c34dd75739b4da47fb5059638f35af90 100644
--- a/Source/core/rendering/svg/SVGRenderingContext.cpp
+++ b/Source/core/rendering/svg/SVGRenderingContext.cpp
@@ -138,7 +138,7 @@ void SVGRenderingContext::prepareToRenderSVGContent(RenderObject* object, PaintI
if (!isRenderingMask) {
if (RenderSVGResourceMasker* masker = resources->masker()) {
- if (!masker->prepareEffect(m_object, style, m_paintInfo->context))
+ if (!masker->prepareEffect(m_object, m_paintInfo->context))
return;
m_masker = masker;
m_renderingFlags |= PostApplyResources;
@@ -161,7 +161,7 @@ void SVGRenderingContext::prepareToRenderSVGContent(RenderObject* object, PaintI
// Return with false here may mean that we don't need to draw the content
// (because it was either drawn before or empty) but we still need to apply the filter.
m_renderingFlags |= PostApplyResources;
- if (!m_filter->prepareEffect(m_object, style, m_paintInfo->context))
+ if (!m_filter->prepareEffect(m_object, m_paintInfo->context))
return;
// Since we're caching the resulting bitmap and do not invalidate it on paint invalidation rect
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResourceMasker.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698