summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RenderSVGResource.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/RenderSVGResource.h')
-rw-r--r--WebCore/rendering/RenderSVGResource.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/WebCore/rendering/RenderSVGResource.h b/WebCore/rendering/RenderSVGResource.h
index a70ce52..0230e98 100644
--- a/WebCore/rendering/RenderSVGResource.h
+++ b/WebCore/rendering/RenderSVGResource.h
@@ -75,15 +75,12 @@ public:
return 0;
}
- // Helper utilities used in the render tree to access resources used for painting shapes/text (gradients & patterns only)
- static RenderSVGResource* fillPaintingResource(RenderObject*, const RenderStyle*);
- static RenderSVGResource* strokePaintingResource(RenderObject*, const RenderStyle*);
+ // Helper utilities used in the render tree to access resources used for painting shapes/text (gradients & patterns & solid colors only)
+ static RenderSVGResource* fillPaintingResource(RenderObject*, const RenderStyle*, Color& fallbackColor);
+ static RenderSVGResource* strokePaintingResource(RenderObject*, const RenderStyle*, Color& fallbackColor);
static RenderSVGResourceSolidColor* sharedSolidPaintingResource();
static void markForLayoutAndParentResourceInvalidation(RenderObject*, bool needsLayout = true);
-
-private:
- static void adjustColorForPseudoRules(const RenderStyle*, bool useFillPaint, Color&);
};
}