Index: Source/core/rendering/svg/SVGRenderSupport.h |
diff --git a/Source/core/rendering/svg/SVGRenderSupport.h b/Source/core/rendering/svg/SVGRenderSupport.h |
index 4fddafc2b23e52cb63ce4bb9f80f79a968a91083..af678f51b4ec31341922f42e333266a78f10a3e8 100644 |
--- a/Source/core/rendering/svg/SVGRenderSupport.h |
+++ b/Source/core/rendering/svg/SVGRenderSupport.h |
@@ -33,11 +33,13 @@ class GraphicsContext; |
class PaintInvalidationState; |
class LayoutRect; |
struct PaintInfo; |
+class Path; |
class RenderGeometryMap; |
class RenderLayerModelObject; |
class RenderObject; |
class RenderStyle; |
class RenderSVGRoot; |
+class RenderSVGShape; |
class StrokeData; |
class TransformState; |
@@ -80,6 +82,9 @@ public: |
static void applyStrokeStyleToContext(GraphicsContext*, const RenderStyle*, const RenderObject*); |
static void applyStrokeStyleToStrokeData(StrokeData*, const RenderStyle*, const RenderObject*); |
+ // Fill and/or stroke the primitive provide as either |path| or |shape|. The former has precedence if both are non-zero. |
+ static void fillOrStrokePrimitive(GraphicsContext*, unsigned short resourceMode, const Path*, const RenderSVGShape*); |
+ |
// Determines if any ancestor's transform has changed. |
static bool transformToRootChanged(RenderObject*); |