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

Unified Diff: third_party/WebKit/Source/core/css/CSSValuePair.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/CSSValuePair.h
diff --git a/third_party/WebKit/Source/core/css/CSSValuePair.h b/third_party/WebKit/Source/core/css/CSSValuePair.h
index d9a563442f1bcfc66943b0849cf5bc90bb659d98..11eb744600fdf56ffe9a40de8955ab5bd49c3c89 100644
--- a/third_party/WebKit/Source/core/css/CSSValuePair.h
+++ b/third_party/WebKit/Source/core/css/CSSValuePair.h
@@ -36,13 +36,13 @@ class CORE_EXPORT CSSValuePair : public CSSValue {
public:
enum IdenticalValuesPolicy { DropIdenticalValues, KeepIdenticalValues };
- static RawPtr<CSSValuePair> create(RawPtr<CSSValue> first, RawPtr<CSSValue> second,
+ static CSSValuePair* create(CSSValue* first, CSSValue* second,
IdenticalValuesPolicy identicalValuesPolicy)
{
return new CSSValuePair(first, second, identicalValuesPolicy);
}
- static RawPtr<CSSValuePair> create(const LengthSize& lengthSize, const ComputedStyle& style)
+ static CSSValuePair* create(const LengthSize& lengthSize, const ComputedStyle& style)
{
return new CSSValuePair(CSSPrimitiveValue::create(lengthSize.width(), style.effectiveZoom()), CSSPrimitiveValue::create(lengthSize.height(), style.effectiveZoom()), KeepIdenticalValues);
}
@@ -72,7 +72,7 @@ public:
DECLARE_TRACE_AFTER_DISPATCH();
private:
- CSSValuePair(RawPtr<CSSValue> first, RawPtr<CSSValue> second, IdenticalValuesPolicy identicalValuesPolicy)
+ CSSValuePair(CSSValue* first, CSSValue* second, IdenticalValuesPolicy identicalValuesPolicy)
: CSSValue(ValuePairClass)
, m_first(first)
, m_second(second)
« 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