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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTable.cpp

Issue 2776203002: Migrate WTF::Vector::remove() to ::erase() (Closed)
Patch Set: rebase, repatch VectorTest Created 3 years, 9 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/layout/LayoutTable.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.cpp b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
index ccce3663e83244461c2002a968ef92c3ff3ebce6..503bf9a13da502ebb88eee40dffb2ef699a4f3ba 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
@@ -225,7 +225,7 @@ void LayoutTable::removeCaption(const LayoutTableCaption* oldCaption) {
if (index == kNotFound)
return;
- m_captions.remove(index);
+ m_captions.erase(index);
}
void LayoutTable::invalidateCachedColumns() {

Powered by Google App Engine
This is Rietveld 408576698