Index: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.h |
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.h b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.h |
index eb48356278c20f3a7e21a2302e55a8f065c75442..652665635bf0dac6720f0ddbf3d0acb909a6e5d6 100644 |
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.h |
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.h |
@@ -18,6 +18,7 @@ class ShadowData; |
class ShadowList; |
class StyleColor; |
class Node; |
+class CSSVariableData; |
class ComputedStyleCSSValueMapping { |
STATIC_ONLY(ComputedStyleCSSValueMapping); |
@@ -25,6 +26,7 @@ public: |
// FIXME: Resolve computed auto alignment in applyProperty/ComputedStyle and remove this non-const styledNode parameter. |
static PassRefPtrWillBeRawPtr<CSSValue> get(CSSPropertyID, const ComputedStyle&, const LayoutObject* = nullptr, Node* styledNode = nullptr, bool allowVisitedStyle = false); |
static PassRefPtrWillBeRawPtr<CSSValue> get(const AtomicString customPropertyName, const ComputedStyle&); |
+ static const HashMap<AtomicString, RefPtr<CSSVariableData>>* getVariables(const ComputedStyle&); |
private: |
static PassRefPtrWillBeRawPtr<CSSValue> currentColorOrValidColor(const ComputedStyle&, const StyleColor&); |
static PassRefPtrWillBeRawPtr<CSSValue> valueForShadowData(const ShadowData&, const ComputedStyle&, bool useSpread); |