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

Unified Diff: third_party/WebKit/Source/core/css/CSSValuePair.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/CSSValuePair.h
diff --git a/third_party/WebKit/Source/core/css/CSSValuePair.h b/third_party/WebKit/Source/core/css/CSSValuePair.h
index 307b88a27a5da2a01bc55601d398555087abaaab..d9a563442f1bcfc66943b0849cf5bc90bb659d98 100644
--- a/third_party/WebKit/Source/core/css/CSSValuePair.h
+++ b/third_party/WebKit/Source/core/css/CSSValuePair.h
@@ -36,15 +36,15 @@ class CORE_EXPORT CSSValuePair : public CSSValue {
public:
enum IdenticalValuesPolicy { DropIdenticalValues, KeepIdenticalValues };
- static PassRefPtrWillBeRawPtr<CSSValuePair> create(PassRefPtrWillBeRawPtr<CSSValue> first, PassRefPtrWillBeRawPtr<CSSValue> second,
+ static RawPtr<CSSValuePair> create(RawPtr<CSSValue> first, RawPtr<CSSValue> second,
IdenticalValuesPolicy identicalValuesPolicy)
{
- return adoptRefWillBeNoop(new CSSValuePair(first, second, identicalValuesPolicy));
+ return new CSSValuePair(first, second, identicalValuesPolicy);
}
- static PassRefPtrWillBeRawPtr<CSSValuePair> create(const LengthSize& lengthSize, const ComputedStyle& style)
+ static RawPtr<CSSValuePair> create(const LengthSize& lengthSize, const ComputedStyle& style)
{
- return adoptRefWillBeNoop(new CSSValuePair(CSSPrimitiveValue::create(lengthSize.width(), style.effectiveZoom()), CSSPrimitiveValue::create(lengthSize.height(), style.effectiveZoom()), KeepIdenticalValues));
+ return new CSSValuePair(CSSPrimitiveValue::create(lengthSize.width(), style.effectiveZoom()), CSSPrimitiveValue::create(lengthSize.height(), style.effectiveZoom()), KeepIdenticalValues);
}
// TODO(sashab): Remove these non-const versions.
@@ -72,7 +72,7 @@ public:
DECLARE_TRACE_AFTER_DISPATCH();
private:
- CSSValuePair(PassRefPtrWillBeRawPtr<CSSValue> first, PassRefPtrWillBeRawPtr<CSSValue> second, IdenticalValuesPolicy identicalValuesPolicy)
+ CSSValuePair(RawPtr<CSSValue> first, RawPtr<CSSValue> second, IdenticalValuesPolicy identicalValuesPolicy)
: CSSValue(ValuePairClass)
, m_first(first)
, m_second(second)
@@ -82,8 +82,8 @@ private:
ASSERT(m_second);
}
- RefPtrWillBeMember<CSSValue> m_first;
- RefPtrWillBeMember<CSSValue> m_second;
+ Member<CSSValue> m_first;
+ Member<CSSValue> m_second;
IdenticalValuesPolicy m_identicalValuesPolicy;
};
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValueList.cpp ('k') | third_party/WebKit/Source/core/css/CSSValuePool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698