| 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 ad0713bf5e598298b36adde6a85d23cadbfcd0fc..2a88943db889b7536f5d4495f79200016786d487 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSValueList.h
|
| +++ b/third_party/WebKit/Source/core/css/CSSValueList.h
|
| @@ -30,20 +30,20 @@ namespace blink {
|
|
|
| class CORE_EXPORT CSSValueList : public CSSValue {
|
| public:
|
| - using iterator = WillBeHeapVector<RefPtrWillBeMember<CSSValue>, 4>::iterator;
|
| - using const_iterator = WillBeHeapVector<RefPtrWillBeMember<CSSValue>, 4>::const_iterator;
|
| + using iterator = HeapVector<Member<CSSValue>, 4>::iterator;
|
| + using const_iterator = HeapVector<Member<CSSValue>, 4>::const_iterator;
|
|
|
| - static PassRefPtrWillBeRawPtr<CSSValueList> createCommaSeparated()
|
| + static RawPtr<CSSValueList> createCommaSeparated()
|
| {
|
| - return adoptRefWillBeNoop(new CSSValueList(CommaSeparator));
|
| + return new CSSValueList(CommaSeparator);
|
| }
|
| - static PassRefPtrWillBeRawPtr<CSSValueList> createSpaceSeparated()
|
| + static RawPtr<CSSValueList> createSpaceSeparated()
|
| {
|
| - return adoptRefWillBeNoop(new CSSValueList(SpaceSeparator));
|
| + return new CSSValueList(SpaceSeparator);
|
| }
|
| - static PassRefPtrWillBeRawPtr<CSSValueList> createSlashSeparated()
|
| + static RawPtr<CSSValueList> createSlashSeparated()
|
| {
|
| - return adoptRefWillBeNoop(new CSSValueList(SlashSeparator));
|
| + return new CSSValueList(SlashSeparator);
|
| }
|
|
|
| iterator begin() { return m_values.begin(); }
|
| @@ -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(PassRefPtrWillBeRawPtr<CSSValue> value) { m_values.append(value); }
|
| - void prepend(PassRefPtrWillBeRawPtr<CSSValue> value) { m_values.prepend(value); }
|
| + void append(RawPtr<CSSValue> value) { m_values.append(value); }
|
| + void prepend(RawPtr<CSSValue> value) { m_values.prepend(value); }
|
| bool removeAll(CSSValue*);
|
| bool hasValue(CSSValue*) const;
|
| - PassRefPtrWillBeRawPtr<CSSValueList> copy();
|
| + RawPtr<CSSValueList> copy();
|
|
|
| String customCSSText() const;
|
| bool equals(const CSSValueList&) const;
|
| @@ -76,7 +76,7 @@ protected:
|
| private:
|
| explicit CSSValueList(ValueListSeparator);
|
|
|
| - WillBeHeapVector<RefPtrWillBeMember<CSSValue>, 4> m_values;
|
| + HeapVector<Member<CSSValue>, 4> m_values;
|
| };
|
|
|
| DEFINE_CSS_VALUE_TYPE_CASTS(CSSValueList, isValueList());
|
|
|