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

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

Issue 184853009: Revert of Move all RefPtr's to CSSValue to oilpan transition types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/CSSValue.h ('k') | Source/core/css/CSSValueList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSValueList.h
diff --git a/Source/core/css/CSSValueList.h b/Source/core/css/CSSValueList.h
index 7e4d9ff600eb70a2aa03a8085860e0f19747e209..c841dfc50036e61c56ddc9b0a509b6bf6bdcc80f 100644
--- a/Source/core/css/CSSValueList.h
+++ b/Source/core/css/CSSValueList.h
@@ -53,8 +53,8 @@
const CSSValue* item(size_t index) const { return index < m_values.size() ? m_values[index].get() : 0; }
CSSValue* itemWithoutBoundsCheck(size_t index) { return m_values[index].get(); }
- void append(PassRefPtrWillBeRawPtr<CSSValue> value) { m_values.append(value); }
- void prepend(PassRefPtrWillBeRawPtr<CSSValue> value) { m_values.prepend(value); }
+ void append(PassRefPtr<CSSValue> value) { m_values.append(value); }
+ void prepend(PassRefPtr<CSSValue> value) { m_values.prepend(value); }
bool removeAll(CSSValue*);
bool hasValue(CSSValue*) const;
PassRefPtrWillBeRawPtr<CSSValueList> copy();
@@ -77,7 +77,7 @@
explicit CSSValueList(ValueListSeparator);
explicit CSSValueList(CSSParserValueList*);
- WillBeHeapVector<RefPtrWillBeMember<CSSValue>, 4> m_values;
+ Vector<RefPtr<CSSValue>, 4> m_values;
};
DEFINE_CSS_VALUE_TYPE_CASTS(CSSValueList, isValueList());
« no previous file with comments | « Source/core/css/CSSValue.h ('k') | Source/core/css/CSSValueList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698