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

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

Issue 1303173007: Oilpan: Unship Oilpan from CSSValues Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 | « Source/core/css/CSSValueList.h ('k') | Source/core/css/CSSValuePool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSValueList.cpp
diff --git a/Source/core/css/CSSValueList.cpp b/Source/core/css/CSSValueList.cpp
index 1648f677020881dc368a930580cff5b98daf4748..fe1c53566440e21210dc24caa62838d50e11b227 100644
--- a/Source/core/css/CSSValueList.cpp
+++ b/Source/core/css/CSSValueList.cpp
@@ -42,7 +42,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);
+ RefPtr<CSSValue>& value = m_values.at(index);
if (value && val && value->equals(*val)) {
m_values.remove(index);
found = true;
@@ -55,16 +55,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 RefPtr<CSSValue>& value = m_values.at(index);
if (value && val && value->equals(*val))
return true;
}
return false;
}
-PassRefPtrWillBeRawPtr<CSSValueList> CSSValueList::copy()
+PassRefPtr<CSSValueList> CSSValueList::copy()
{
- RefPtrWillBeRawPtr<CSSValueList> newList = nullptr;
+ RefPtr<CSSValueList> newList = nullptr;
switch (m_valueListSeparator) {
case SpaceSeparator:
newList = createSpaceSeparated();
@@ -125,10 +125,4 @@ bool CSSValueList::hasFailedOrCanceledSubresources() const
return false;
}
-DEFINE_TRACE_AFTER_DISPATCH(CSSValueList)
-{
- visitor->trace(m_values);
- CSSValue::traceAfterDispatch(visitor);
-}
-
} // namespace blink
« no previous file with comments | « Source/core/css/CSSValueList.h ('k') | Source/core/css/CSSValuePool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698