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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.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
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/Vector.h ('k') | third_party/WebKit/Source/wtf/VectorTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index 513570ac3ae63c345d9f0b7ed5912f1ebf508dd3..0780fa32233c72fa546d5df7d6ceb8143024467d 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -1184,7 +1184,7 @@ void ChromeClientImpl::unregisterPopupOpeningObserver(
PopupOpeningObserver* observer) {
size_t index = m_popupOpeningObservers.find(observer);
DCHECK_NE(index, kNotFound);
- m_popupOpeningObservers.remove(index);
+ m_popupOpeningObservers.erase(index);
}
void ChromeClientImpl::notifyPopupOpeningObservers() const {
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/Vector.h ('k') | third_party/WebKit/Source/wtf/VectorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698