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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/PropertySetCSSStyleDeclaration.h
diff --git a/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.h b/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.h
index 5018599a1799f50802d7aa255a86ac7f63a0b25b..7d50cf37a3ab6ffa46daca5340d5648670ae03f8 100644
--- a/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.h
+++ b/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.h
@@ -60,7 +60,7 @@ private:
void setCSSFloat(const String&, ExceptionState&);
String cssText() const final;
void setCSSText(const String&, ExceptionState&) final;
- PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) final;
+ RawPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) final;
String getPropertyValueInternal(CSSPropertyID) final;
void setPropertyInternal(CSSPropertyID, const String& customPropertyName, const String& value, bool important, ExceptionState&) final;
@@ -87,14 +87,14 @@ public:
protected:
MutableStylePropertySet& propertySet() const final { ASSERT(m_propertySet); return *m_propertySet; }
- RawPtrWillBeMember<MutableStylePropertySet> m_propertySet; // Cannot be null
+ Member<MutableStylePropertySet> m_propertySet; // Cannot be null
};
class StyleRuleCSSStyleDeclaration : public PropertySetCSSStyleDeclaration {
public:
- static PassRefPtrWillBeRawPtr<StyleRuleCSSStyleDeclaration> create(MutableStylePropertySet& propertySet, CSSRule* parentRule)
+ static RawPtr<StyleRuleCSSStyleDeclaration> create(MutableStylePropertySet& propertySet, CSSRule* parentRule)
{
- return adoptRefWillBeNoop(new StyleRuleCSSStyleDeclaration(propertySet, parentRule));
+ return new StyleRuleCSSStyleDeclaration(propertySet, parentRule);
}
#if !ENABLE(OILPAN)
@@ -122,7 +122,7 @@ protected:
#if !ENABLE(OILPAN)
unsigned m_refCount;
#endif
- RawPtrWillBeMember<CSSRule> m_parentRule;
+ Member<CSSRule> m_parentRule;
};
class InlineCSSStyleDeclaration final : public AbstractPropertySetCSSStyleDeclaration {
@@ -145,7 +145,7 @@ private:
void didMutate(MutationType) override;
- RawPtrWillBeMember<Element> m_parentElement;
+ Member<Element> m_parentElement;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698