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

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

Issue 721073003: Pass PaintBehaviorRenderingClipPathAsMask in PaintInfo (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Constify; Add ASSERT. Created 6 years, 1 month 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/SVGInlineTextBoxPainter.cpp ('k') | Source/core/rendering/PaintInfo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/SVGShapePainter.cpp
diff --git a/Source/core/paint/SVGShapePainter.cpp b/Source/core/paint/SVGShapePainter.cpp
index e0359b324a7b9b448b445409d4801174c94b96db..aa99654e510da9b86faf28c6a378e59e2e0e9c19 100644
--- a/Source/core/paint/SVGShapePainter.cpp
+++ b/Source/core/paint/SVGShapePainter.cpp
@@ -68,7 +68,7 @@ void SVGShapePainter::paint(PaintInfo& paintInfo)
switch (svgStyle.paintOrderType(i)) {
case PT_FILL: {
GraphicsContextStateSaver stateSaver(*childPaintInfo.context, false);
- if (!SVGRenderSupport::updateGraphicsContext(stateSaver, m_renderSVGShape.style(), m_renderSVGShape, ApplyToFillMode))
+ if (!SVGRenderSupport::updateGraphicsContext(childPaintInfo, stateSaver, m_renderSVGShape.style(), m_renderSVGShape, ApplyToFillMode))
break;
fillShape(childPaintInfo.context);
break;
@@ -88,7 +88,7 @@ void SVGShapePainter::paint(PaintInfo& paintInfo)
additionalPaintServerTransform = &nonScalingTransform;
}
- if (!SVGRenderSupport::updateGraphicsContext(stateSaver, m_renderSVGShape.style(), m_renderSVGShape, ApplyToStrokeMode, additionalPaintServerTransform))
+ if (!SVGRenderSupport::updateGraphicsContext(childPaintInfo, stateSaver, m_renderSVGShape.style(), m_renderSVGShape, ApplyToStrokeMode, additionalPaintServerTransform))
break;
strokeShape(childPaintInfo.context);
}
« no previous file with comments | « Source/core/paint/SVGInlineTextBoxPainter.cpp ('k') | Source/core/rendering/PaintInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698