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

Unified Diff: Source/core/paint/SVGPaintContext.cpp

Issue 1034683002: [S.P.] Use LayoutObject references in SVGFilterPainter. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 | « Source/core/paint/SVGFilterPainter.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/SVGPaintContext.cpp
diff --git a/Source/core/paint/SVGPaintContext.cpp b/Source/core/paint/SVGPaintContext.cpp
index 598f551ff062e7ed1954482c1416a9caca3a57d3..e3c3d635ad23c60e61c1027afe70fa510208f958 100644
--- a/Source/core/paint/SVGPaintContext.cpp
+++ b/Source/core/paint/SVGPaintContext.cpp
@@ -47,7 +47,7 @@ SVGPaintContext::~SVGPaintContext()
LayoutObjectDrawingRecorder recorder(m_originalPaintInfo->context, *m_object, DisplayItem::SVGFilter, LayoutRect::infiniteIntRect());
if (!recorder.canUseCachedDrawing())
- SVGFilterPainter(*m_filter).finishEffect(m_object, m_originalPaintInfo->context);
+ SVGFilterPainter(*m_filter).finishEffect(*m_object, m_originalPaintInfo->context);
// Reset the paint info after the filter effect has been completed.
// This isn't strictly required (e.g., m_paintInfo.rect is not used
@@ -160,7 +160,7 @@ bool SVGPaintContext::applyFilterIfNecessary(SVGResources* resources)
return false;
} else if (LayoutSVGResourceFilter* filter = resources->filter()) {
m_filter = filter;
- GraphicsContext* filterContext = SVGFilterPainter(*filter).prepareEffect(m_object, m_paintInfo.context);
+ GraphicsContext* filterContext = SVGFilterPainter(*filter).prepareEffect(*m_object, m_paintInfo.context);
if (!filterContext)
return false;
« no previous file with comments | « Source/core/paint/SVGFilterPainter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698