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 { |