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

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

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/CSSValueList.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSValueList.cpp b/third_party/WebKit/Source/core/css/CSSValueList.cpp
index 2573fb98d5a050abbc96aea900ac688024135e78..b83cfa24878018930f17ee7ebd1b938e08d43810 100644
--- a/third_party/WebKit/Source/core/css/CSSValueList.cpp
+++ b/third_party/WebKit/Source/core/css/CSSValueList.cpp
@@ -41,7 +41,7 @@ bool CSSValueList::removeAll(CSSValue* val)
{
bool found = false;
for (int index = m_values.size() - 1; index >= 0; --index) {
- RefPtrWillBeMember<CSSValue>& value = m_values.at(index);
+ Member<CSSValue>& value = m_values.at(index);
if (value && val && value->equals(*val)) {
m_values.remove(index);
found = true;
@@ -54,16 +54,16 @@ bool CSSValueList::removeAll(CSSValue* val)
bool CSSValueList::hasValue(CSSValue* val) const
{
for (size_t index = 0; index < m_values.size(); index++) {
- const RefPtrWillBeMember<CSSValue>& value = m_values.at(index);
+ const Member<CSSValue>& value = m_values.at(index);
if (value && val && value->equals(*val))
return true;
}
return false;
}
-PassRefPtrWillBeRawPtr<CSSValueList> CSSValueList::copy()
+RawPtr<CSSValueList> CSSValueList::copy()
{
- RefPtrWillBeRawPtr<CSSValueList> newList = nullptr;
+ RawPtr<CSSValueList> newList = nullptr;
switch (m_valueListSeparator) {
case SpaceSeparator:
newList = createSpaceSeparated();
« 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