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 0c1ff6123f9fe4dc19ebd77b4cf9dfcf8f97f583..b75b71fbf3f12d1ba99f3665889e4c3416c47e5d 100644 |
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.h |
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.h |
@@ -24,8 +24,8 @@ class ComputedStyleCSSValueMapping { |
STATIC_ONLY(ComputedStyleCSSValueMapping); |
public: |
// FIXME: Resolve computed auto alignment in applyProperty/ComputedStyle and remove this non-const styledNode parameter. |
- static CSSValue* get(CSSPropertyID, const ComputedStyle&, const LayoutObject* = nullptr, Node* styledNode = nullptr, bool allowVisitedStyle = false); |
- static CSSValue* get(const AtomicString customPropertyName, const ComputedStyle&); |
+ static const CSSValue* get(CSSPropertyID, const ComputedStyle&, const LayoutObject* = nullptr, Node* styledNode = nullptr, bool allowVisitedStyle = false); |
+ static const CSSValue* get(const AtomicString customPropertyName, const ComputedStyle&); |
static std::unique_ptr<HashMap<AtomicString, RefPtr<CSSVariableData>>> getVariables(const ComputedStyle&); |
private: |
static CSSValue* currentColorOrValidColor(const ComputedStyle&, const StyleColor&); |