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

Unified Diff: third_party/WebKit/Source/core/css/CSSValueList.cpp

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/CSSValueList.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSValueList.cpp b/third_party/WebKit/Source/core/css/CSSValueList.cpp
index b83cfa24878018930f17ee7ebd1b938e08d43810..d00d05067cb764f10ea3b6a157596853e63b34f3 100644
--- a/third_party/WebKit/Source/core/css/CSSValueList.cpp
+++ b/third_party/WebKit/Source/core/css/CSSValueList.cpp
@@ -61,9 +61,9 @@ bool CSSValueList::hasValue(CSSValue* val) const
return false;
}
-RawPtr<CSSValueList> CSSValueList::copy()
+CSSValueList* CSSValueList::copy()
{
- RawPtr<CSSValueList> newList = nullptr;
+ CSSValueList* newList = nullptr;
switch (m_valueListSeparator) {
case SpaceSeparator:
newList = createSpaceSeparated();
@@ -79,7 +79,7 @@ RawPtr<CSSValueList> CSSValueList::copy()
}
for (size_t index = 0; index < m_values.size(); index++)
newList->append(m_values[index]);
- return newList.release();
+ return newList;
}
String CSSValueList::customCSSText() const
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValueList.h ('k') | third_party/WebKit/Source/core/css/CSSValuePair.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698