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

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

Issue 630903003: Move common GC state update code out of paint-server application (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
Index: Source/core/rendering/svg/SVGRenderSupport.h
diff --git a/Source/core/rendering/svg/SVGRenderSupport.h b/Source/core/rendering/svg/SVGRenderSupport.h
index 7419f4a7fc36e44992afe18d2c1b15cc0a2f0083..c444e628cf74c6ec296cf0981a5228d58901f763 100644
--- a/Source/core/rendering/svg/SVGRenderSupport.h
+++ b/Source/core/rendering/svg/SVGRenderSupport.h
@@ -87,6 +87,9 @@ public:
// Fill and/or stroke the provided |path|.
static void fillOrStrokePath(GraphicsContext*, unsigned short resourceMode, const Path&);
+ // Transfer fill/stroke style (except paint server) to the GC.
+ static void updateGraphicsContext(GraphicsContext*, const RenderStyle*, const RenderObject&, unsigned resourceModeFlags);
pdr. 2014/10/07 02:57:48 This seems like a better fit as a protected member
fs 2014/10/07 12:34:20 I can move it there in the interim, but longer ter
+
// Determines if any ancestor's transform has changed.
static bool transformToRootChanged(RenderObject*);

Powered by Google App Engine
This is Rietveld 408576698