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

Unified Diff: Source/core/rendering/svg/RenderSVGResourcePaintServer.h

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
« no previous file with comments | « Source/core/paint/SVGShapePainter.cpp ('k') | Source/core/rendering/svg/RenderSVGResourcePaintServer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGResourcePaintServer.h
diff --git a/Source/core/rendering/svg/RenderSVGResourcePaintServer.h b/Source/core/rendering/svg/RenderSVGResourcePaintServer.h
index becd3837b1a9ee265b3633da4b6cbf6ba4c558d2..d6c5ff236648765343644386a9ae8a2eb91818f8 100644
--- a/Source/core/rendering/svg/RenderSVGResourcePaintServer.h
+++ b/Source/core/rendering/svg/RenderSVGResourcePaintServer.h
@@ -47,7 +47,7 @@ public:
static SVGPaintServer requestForRenderer(const RenderObject&, const RenderStyle&, RenderSVGResourceMode);
static bool existsForRenderer(const RenderObject&, const RenderStyle&, RenderSVGResourceMode);
- void apply(GraphicsContext&, RenderSVGResourceMode, GraphicsContextStateSaver* = 0);
+ void apply(GraphicsContext&, RenderSVGResourceMode, float paintAlpha, GraphicsContextStateSaver&);
static SVGPaintServer invalid() { return SVGPaintServer(Color(Color::transparent)); }
bool isValid() const { return m_color != Color::transparent; }
« no previous file with comments | « Source/core/paint/SVGShapePainter.cpp ('k') | Source/core/rendering/svg/RenderSVGResourcePaintServer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698