Index: Source/core/css/RenderStyleCSSValueMapping.h |
diff --git a/Source/core/css/RenderStyleCSSValueMapping.h b/Source/core/css/RenderStyleCSSValueMapping.h |
index f38a1f030d4130fa7ae684335aad7201ae5485cb..155d65d12734daa1299cd2cf3a2dc3e8a1cfcbbc 100644 |
--- a/Source/core/css/RenderStyleCSSValueMapping.h |
+++ b/Source/core/css/RenderStyleCSSValueMapping.h |
@@ -10,7 +10,7 @@ |
namespace blink { |
class CSSPrimitiveValue; |
-class RenderObject; |
+class LayoutObject; |
class RenderStyle; |
class ShadowData; |
class ShadowList; |
@@ -20,7 +20,7 @@ class Node; |
class RenderStyleCSSValueMapping { |
public: |
// FIXME: Resolve computed auto alignment in applyProperty/RenderStyle and remove this non-const styledNode parameter. |
- static PassRefPtrWillBeRawPtr<CSSValue> get(CSSPropertyID, const RenderStyle&, const RenderObject* renderer = nullptr, Node* styledNode = nullptr, bool allowVisitedStyle = false); |
+ static PassRefPtrWillBeRawPtr<CSSValue> get(CSSPropertyID, const RenderStyle&, const LayoutObject* renderer = nullptr, Node* styledNode = nullptr, bool allowVisitedStyle = false); |
private: |
static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> currentColorOrValidColor(const RenderStyle&, const StyleColor&); |
static PassRefPtrWillBeRawPtr<CSSValue> valueForShadowData(const ShadowData&, const RenderStyle&, bool useSpread); |