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

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

Issue 2035333002: Removed deprecated method CSSValueList::itemWithBoundsCheck() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_make_cssvaluelist_and_computedstylemapping_store_const
Patch Set: Created 4 years, 6 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
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 d747c6a3baf93874da22e6decb6aa65cd61e0483..5e68de00859d37ab27da7214054ec7056422a1ef 100644
--- a/third_party/WebKit/Source/core/css/CSSValueList.h
+++ b/third_party/WebKit/Source/core/css/CSSValueList.h
@@ -54,8 +54,6 @@ public:
size_t length() const { return m_values.size(); }
const CSSValue* item(size_t index) const { return m_values[index].get(); }
- // TODO(sashab): Remove this method.
- const CSSValue* itemWithBoundsCheck(size_t index) const { return index < m_values.size() ? m_values[index].get() : nullptr; }
void append(const CSSValue* value) { m_values.append(value); }
void prepend(const CSSValue* value) { m_values.prepend(value); }

Powered by Google App Engine
This is Rietveld 408576698