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

Unified Diff: third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp

Issue 2696183002: Migrate WTF::HashSet::remove() to ::erase() [part 1] (Closed)
Patch Set: one more platform-specific reference Created 3 years, 10 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/modules/webshare/NavigatorShare.cpp
diff --git a/third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp b/third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp
index 5d31822573a062c4d279ad8671b0075d7b8f67bc..382e6b49e5437f0e6933ac0c52742947672b0135 100644
--- a/third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp
+++ b/third_party/WebKit/Source/modules/webshare/NavigatorShare.cpp
@@ -43,7 +43,7 @@ NavigatorShare::ShareClientImpl::ShareClientImpl(
void NavigatorShare::ShareClientImpl::callback(const String& error) {
if (m_navigator)
- m_navigator->m_clients.remove(this);
+ m_navigator->m_clients.erase(this);
if (error.isNull()) {
m_resolver->resolve();

Powered by Google App Engine
This is Rietveld 408576698