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

Unified Diff: Source/platform/graphics/paint/DisplayItemList.cpp

Issue 1292333003: Remove stale TODO about calling elementAt (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/paint/DisplayItemList.cpp
diff --git a/Source/platform/graphics/paint/DisplayItemList.cpp b/Source/platform/graphics/paint/DisplayItemList.cpp
index 2947afd84b91892ae388df0b67a981c1e7c63d68..9c8fad763e60b0b3cbb4dbcea05602878a2bd54c 100644
--- a/Source/platform/graphics/paint/DisplayItemList.cpp
+++ b/Source/platform/graphics/paint/DisplayItemList.cpp
@@ -147,7 +147,6 @@ size_t DisplayItemList::findMatchingItemFromIndex(const DisplayItem::Id& id, con
const Vector<size_t>& indices = it->value;
for (size_t index : indices) {
- // TODO(pdr): elementAt is not cheap so this should be refactored (See crbug.com/505965).
const DisplayItem& existingItem = list[index];
ASSERT(!existingItem.isValid() || existingItem.client() == id.client);
if (existingItem.isValid() && id.matches(existingItem))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698