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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp

Issue 2459003003: WTF/std normalization: replace WTF::Vector::removeLast with ::pop_back (Closed)
Patch Set: rebase Created 4 years, 1 month 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/platform/graphics/paint/PaintController.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
index ab782cdd200a836b48d09fc05bedb40b910035ad..4d29ac247fe2573a32e375dae57281ceedd6b06e 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
@@ -145,7 +145,7 @@ void PaintController::removeLastDisplayItem() {
Vector<size_t>& indices = it->value;
if (!indices.isEmpty() &&
indices.last() == (m_newDisplayItemList.size() - 1))
- indices.removeLast();
+ indices.pop_back();
}
#endif
@@ -193,7 +193,7 @@ void PaintController::processNewItem(DisplayItem& displayItem) {
m_currentSubsequenceClients.append(&displayItem.client());
} else if (displayItem.getType() == DisplayItem::kEndSubsequence) {
CHECK(m_currentSubsequenceClients.last() == &displayItem.client());
- m_currentSubsequenceClients.removeLast();
+ m_currentSubsequenceClients.pop_back();
}
}
#endif
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/paint/PaintChunker.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698