Chromium Code Reviews| Index: Source/core/css/CSSValueList.h |
| diff --git a/Source/core/css/CSSValueList.h b/Source/core/css/CSSValueList.h |
| index e938f0756b12de2e3b64799d74dd95d25ab4780e..b3a0636f71eeed7c93d5abcff0a36cde890d2f98 100644 |
| --- a/Source/core/css/CSSValueList.h |
| +++ b/Source/core/css/CSSValueList.h |
| @@ -30,6 +30,7 @@ namespace blink { |
| class CSSValueList : public CSSValue { |
| public: |
| using iterator = WillBeHeapVector<RefPtrWillBeMember<CSSValue>, 4>::iterator; |
| + using const_iterator = WillBeHeapVector<RefPtrWillBeMember<CSSValue>, 4>::const_iterator; |
|
Timothy Loh
2015/04/08 07:59:43
needs a rebase? I think we have these already
Eric Willigers
2015/04/08 08:30:40
Done.
|
| static PassRefPtrWillBeRawPtr<CSSValueList> createCommaSeparated() |
| { |
| @@ -46,6 +47,8 @@ public: |
| iterator begin() { return m_values.begin(); } |
| iterator end() { return m_values.end(); } |
| + const_iterator begin() const { return m_values.begin(); } |
| + const_iterator end() const { return m_values.end(); } |
| size_t length() const { return m_values.size(); } |
| CSSValue* item(size_t index) { return m_values[index].get(); } |