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

Unified Diff: third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.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/CSSComputedStyleDeclaration.h
diff --git a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.h b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.h
index d17d52afa9fe9f8dd3b75e0d1a096c9186315c9a..91a9ce0f5588aca1f8f082f25440192c462ef650 100644
--- a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.h
+++ b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.h
@@ -47,7 +47,7 @@ class StylePropertyShorthand;
class CORE_EXPORT CSSComputedStyleDeclaration final : public CSSStyleDeclaration {
public:
- static RawPtr<CSSComputedStyleDeclaration> create(RawPtr<Node> node, bool allowVisitedStyle = false, const String& pseudoElementName = String())
+ static CSSComputedStyleDeclaration* create(Node* node, bool allowVisitedStyle = false, const String& pseudoElementName = String())
{
return new CSSComputedStyleDeclaration(node, allowVisitedStyle, pseudoElementName);
}
@@ -61,21 +61,21 @@ public:
String getPropertyValue(CSSPropertyID) const;
bool getPropertyPriority(CSSPropertyID) const;
- RawPtr<MutableStylePropertySet> copyProperties() const;
+ MutableStylePropertySet* copyProperties() const;
- RawPtr<CSSValue> getPropertyCSSValue(CSSPropertyID) const;
- RawPtr<CSSValue> getPropertyCSSValue(AtomicString customPropertyName) const;
+ CSSValue* getPropertyCSSValue(CSSPropertyID) const;
+ CSSValue* getPropertyCSSValue(AtomicString customPropertyName) const;
const HashMap<AtomicString, RefPtr<CSSVariableData>>* getVariables() const;
- RawPtr<CSSValue> getFontSizeCSSValuePreferringKeyword() const;
+ CSSValue* getFontSizeCSSValuePreferringKeyword() const;
bool isMonospaceFont() const;
- RawPtr<MutableStylePropertySet> copyPropertiesInSet(const Vector<CSSPropertyID>&) const;
+ MutableStylePropertySet* copyPropertiesInSet(const Vector<CSSPropertyID>&) const;
DECLARE_VIRTUAL_TRACE();
private:
- CSSComputedStyleDeclaration(RawPtr<Node>, bool allowVisitedStyle, const String&);
+ CSSComputedStyleDeclaration(Node*, bool allowVisitedStyle, const String&);
// The styled node is either the node passed into getComputedStyle, or the
// PseudoElement for :before and :after if they exist.
@@ -99,7 +99,7 @@ private:
void setCSSFloat(const String&, ExceptionState&);
String cssText() const override;
void setCSSText(const String&, ExceptionState&) override;
- RawPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) override;
+ CSSValue* getPropertyCSSValueInternal(CSSPropertyID) override;
String getPropertyValueInternal(CSSPropertyID) override;
void setPropertyInternal(CSSPropertyID, const String& customPropertyName, const String& value, bool important, ExceptionState&) override;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSColorValue.h ('k') | third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698