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

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

Issue 900463002: Make SVG painting independent of GraphicsContext's alpha state (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address reviewer comments Created 5 years, 10 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: Source/core/paint/SVGShapePainter.cpp
diff --git a/Source/core/paint/SVGShapePainter.cpp b/Source/core/paint/SVGShapePainter.cpp
index 378079af237ff43d00846f4bcf00729e16fc4dd3..afcb033f27ea2048a842d4f08c84fc24e90bd9d3 100644
--- a/Source/core/paint/SVGShapePainter.cpp
+++ b/Source/core/paint/SVGShapePainter.cpp
@@ -55,10 +55,6 @@ void SVGShapePainter::paint(const PaintInfo& paintInfo)
PaintInfo paintInfoBeforeFiltering(paintInfo);
FloatRect boundingBox = m_renderSVGShape.paintInvalidationRectInLocalCoordinates();
- // FIXME: Remove this state saver when SVGRenderSupport::updateGraphicsContext
- // no longer affects the global alpha state. See crbug.com/453225
- GraphicsContextStateSaver stateSaver(*paintInfoBeforeFiltering.context);
-
TransformRecorder transformRecorder(*paintInfoBeforeFiltering.context, m_renderSVGShape.displayItemClient(), m_renderSVGShape.localTransform());
{
SVGRenderingContext renderingContext(m_renderSVGShape, paintInfoBeforeFiltering);
« no previous file with comments | « Source/core/paint/SVGRootInlineBoxPainter.cpp ('k') | Source/core/rendering/svg/RenderSVGResourcePaintServer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698