| 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..d3133030fb7e564239cc0a2c06860b9e9ab788b2 100644
|
| --- a/Source/core/rendering/svg/SVGRenderSupport.h
|
| +++ b/Source/core/rendering/svg/SVGRenderSupport.h
|
| @@ -30,6 +30,7 @@ class AffineTransform;
|
| class FloatPoint;
|
| class FloatRect;
|
| class GraphicsContext;
|
| +class GraphicsContextStateSaver;
|
| class PaintInvalidationState;
|
| class LayoutRect;
|
| struct PaintInfo;
|
| @@ -84,6 +85,11 @@ public:
|
| static void applyStrokeStyleToContext(GraphicsContext*, const RenderStyle*, const RenderObject*);
|
| static void applyStrokeStyleToStrokeData(StrokeData*, const RenderStyle*, const RenderObject*);
|
|
|
| + // Update the GC state (on |stateSaver.context()|) for painting |renderer|
|
| + // using |style|. |resourceModeFlags| is used to decide between fill/stroke.
|
| + // Previous state will be saved (if needed) using |stateSaver|.
|
| + static bool updateGraphicsContext(GraphicsContextStateSaver&, RenderStyle*, RenderObject&, unsigned resourceModeFlags);
|
| +
|
| // Fill and/or stroke the provided |path|.
|
| static void fillOrStrokePath(GraphicsContext*, unsigned short resourceMode, const Path&);
|
|
|
|
|