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

Unified Diff: third_party/WebKit/Source/core/css/CSSQuadValue.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/CSSQuadValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSQuadValue.h b/third_party/WebKit/Source/core/css/CSSQuadValue.h
index 538b75e9e4221268c942751346297331aa2f934d..7bab573507f4747bd2c742b6f7ed05b046888469 100644
--- a/third_party/WebKit/Source/core/css/CSSQuadValue.h
+++ b/third_party/WebKit/Source/core/css/CSSQuadValue.h
@@ -35,9 +35,9 @@ public:
SerializeAsQuad
};
- static PassRefPtrWillBeRawPtr<CSSQuadValue> create(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> top, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> right, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> bottom, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> left, TypeForSerialization serializationType)
+ static RawPtr<CSSQuadValue> create(RawPtr<CSSPrimitiveValue> top, RawPtr<CSSPrimitiveValue> right, RawPtr<CSSPrimitiveValue> bottom, RawPtr<CSSPrimitiveValue> left, TypeForSerialization serializationType)
{
- return adoptRefWillBeNoop(new CSSQuadValue(top, right, bottom, left, serializationType));
+ return new CSSQuadValue(top, right, bottom, left, serializationType);
}
CSSPrimitiveValue* top() const { return m_top.get(); }
@@ -60,7 +60,7 @@ public:
DECLARE_TRACE_AFTER_DISPATCH();
protected:
- CSSQuadValue(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> top, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> right, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> bottom, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> left, TypeForSerialization serializationType)
+ CSSQuadValue(RawPtr<CSSPrimitiveValue> top, RawPtr<CSSPrimitiveValue> right, RawPtr<CSSPrimitiveValue> bottom, RawPtr<CSSPrimitiveValue> left, TypeForSerialization serializationType)
: CSSValue(QuadClass)
, m_serializationType(serializationType)
, m_top(top)
@@ -70,10 +70,10 @@ protected:
private:
TypeForSerialization m_serializationType;
- RefPtrWillBeMember<CSSPrimitiveValue> m_top;
- RefPtrWillBeMember<CSSPrimitiveValue> m_right;
- RefPtrWillBeMember<CSSPrimitiveValue> m_bottom;
- RefPtrWillBeMember<CSSPrimitiveValue> m_left;
+ Member<CSSPrimitiveValue> m_top;
+ Member<CSSPrimitiveValue> m_right;
+ Member<CSSPrimitiveValue> m_bottom;
+ Member<CSSPrimitiveValue> m_left;
};
DEFINE_CSS_VALUE_TYPE_CASTS(CSSQuadValue, isQuadValue());
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPropertySourceData.h ('k') | third_party/WebKit/Source/core/css/CSSReflectValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698