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 47f8c24b741d42e6369ee7c7b34aafadd2f63de7..cb1e32b81e7a837591c8f9a367624fa2a7671a1b 100644 |
--- a/third_party/WebKit/Source/core/css/CSSValueList.h |
+++ b/third_party/WebKit/Source/core/css/CSSValueList.h |
@@ -53,8 +53,10 @@ public: |
const_iterator end() const { return m_values.end(); } |
size_t length() const { return m_values.size(); } |
+ // TODO(sashab): Remove the non-const item() method. |
CSSValue* item(size_t index) { return m_values[index].get(); } |
const CSSValue* item(size_t index) const { return m_values[index].get(); } |
+ // TODO(sashab): Remove these methods. |
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; } |