Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.h

Issue 1858753003: Remove RawPtr from core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 9e18b78785fe5b2abc2cc5d724a2358997f9d2db..287548a5a0d2c75f463f815487f30962f1530262 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.h
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.h
@@ -24,15 +24,15 @@ class ComputedStyleCSSValueMapping {
STATIC_ONLY(ComputedStyleCSSValueMapping);
public:
// FIXME: Resolve computed auto alignment in applyProperty/ComputedStyle and remove this non-const styledNode parameter.
- static RawPtr<CSSValue> get(CSSPropertyID, const ComputedStyle&, const LayoutObject* = nullptr, Node* styledNode = nullptr, bool allowVisitedStyle = false);
- static RawPtr<CSSValue> get(const AtomicString customPropertyName, const ComputedStyle&);
+ 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 HashMap<AtomicString, RefPtr<CSSVariableData>>* getVariables(const ComputedStyle&);
private:
- static RawPtr<CSSValue> currentColorOrValidColor(const ComputedStyle&, const StyleColor&);
- static RawPtr<CSSValue> valueForShadowData(const ShadowData&, const ComputedStyle&, bool useSpread);
- static RawPtr<CSSValue> valueForShadowList(const ShadowList*, const ComputedStyle&, bool useSpread);
- static RawPtr<CSSValue> valueForFilter(const ComputedStyle&, const FilterOperations&);
- static RawPtr<CSSValue> valueForFont(const ComputedStyle&);
+ static CSSValue* currentColorOrValidColor(const ComputedStyle&, const StyleColor&);
+ static CSSValue* valueForShadowData(const ShadowData&, const ComputedStyle&, bool useSpread);
+ static CSSValue* valueForShadowList(const ShadowList*, const ComputedStyle&, bool useSpread);
+ static CSSValue* valueForFilter(const ComputedStyle&, const FilterOperations&);
+ static CSSValue* valueForFont(const ComputedStyle&);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698