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

Unified Diff: third_party/WebKit/Source/core/css/CSSValueList.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
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValue.h ('k') | third_party/WebKit/Source/core/css/CSSValueList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSValueList.h
diff --git a/third_party/WebKit/Source/core/css/CSSValueList.h b/third_party/WebKit/Source/core/css/CSSValueList.h
index 2a88943db889b7536f5d4495f79200016786d487..66c3e9789d4e0a29458da050e229c96b52268d0d 100644
--- a/third_party/WebKit/Source/core/css/CSSValueList.h
+++ b/third_party/WebKit/Source/core/css/CSSValueList.h
@@ -33,15 +33,15 @@ public:
using iterator = HeapVector<Member<CSSValue>, 4>::iterator;
using const_iterator = HeapVector<Member<CSSValue>, 4>::const_iterator;
- static RawPtr<CSSValueList> createCommaSeparated()
+ static CSSValueList* createCommaSeparated()
{
return new CSSValueList(CommaSeparator);
}
- static RawPtr<CSSValueList> createSpaceSeparated()
+ static CSSValueList* createSpaceSeparated()
{
return new CSSValueList(SpaceSeparator);
}
- static RawPtr<CSSValueList> createSlashSeparated()
+ static CSSValueList* createSlashSeparated()
{
return new CSSValueList(SlashSeparator);
}
@@ -57,11 +57,11 @@ public:
CSSValue* itemWithBoundsCheck(size_t index) { return index < m_values.size() ? m_values[index].get() : nullptr; }
const CSSValue* itemWithBoundsCheck(size_t index) const { return index < m_values.size() ? m_values[index].get() : nullptr; }
- void append(RawPtr<CSSValue> value) { m_values.append(value); }
- void prepend(RawPtr<CSSValue> value) { m_values.prepend(value); }
+ void append(CSSValue* value) { m_values.append(value); }
+ void prepend(CSSValue* value) { m_values.prepend(value); }
bool removeAll(CSSValue*);
bool hasValue(CSSValue*) const;
- RawPtr<CSSValueList> copy();
+ CSSValueList* copy();
String customCSSText() const;
bool equals(const CSSValueList&) const;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValue.h ('k') | third_party/WebKit/Source/core/css/CSSValueList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698