Index: Source/core/css/CSSComputedStyleDeclaration.h |
diff --git a/Source/core/css/CSSComputedStyleDeclaration.h b/Source/core/css/CSSComputedStyleDeclaration.h |
index 2eee153f8ac548e25cbddfa91f82d16a345d7390..1f2a35fad5209caa3baf78e4472b4b7dbb9121fe 100644 |
--- a/Source/core/css/CSSComputedStyleDeclaration.h |
+++ b/Source/core/css/CSSComputedStyleDeclaration.h |
@@ -22,6 +22,7 @@ |
#define CSSComputedStyleDeclaration_h |
#include "core/css/CSSStyleDeclaration.h" |
+#include "core/css/StyleColor.h" |
#include "core/rendering/style/RenderStyleConstants.h" |
#include "wtf/HashMap.h" |
#include "wtf/RefPtr.h" |
@@ -109,8 +110,9 @@ private: |
virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRIDE; |
- PassRefPtr<CSSValue> valueForShadow(const ShadowData*, CSSPropertyID, const RenderStyle*) const; |
- PassRefPtr<CSSPrimitiveValue> currentColorOrValidColor(RenderStyle*, const Color&) const; |
+ PassRefPtr<CSSValue> valueForShadow(const RenderObject*, const ShadowData*, CSSPropertyID, const RenderStyle*) const; |
+ PassRefPtr<CSSPrimitiveValue> currentColorOrValidColor(RenderStyle*, const StyleColor&) const; |
+ PassRefPtr<CSSPrimitiveValue> currentColorOrValidColor(const RenderObject*, const RenderStyle*, int colorProperty) const; |
PassRefPtr<SVGPaint> adjustSVGPaintForCurrentColor(PassRefPtr<SVGPaint>, RenderStyle*) const; |
PassRefPtr<CSSValue> valueForFilter(const RenderObject*, const RenderStyle*) const; |