Index: third_party/WebKit/Source/modules/geolocation/GeolocationWatchers.cpp |
diff --git a/third_party/WebKit/Source/modules/geolocation/GeolocationWatchers.cpp b/third_party/WebKit/Source/modules/geolocation/GeolocationWatchers.cpp |
index e0bfc0e2bccd0fbcab15d743e6d17a6e5c96a488..fb953a938bba6995451b5892904bfecea3f2db82 100644 |
--- a/third_party/WebKit/Source/modules/geolocation/GeolocationWatchers.cpp |
+++ b/third_party/WebKit/Source/modules/geolocation/GeolocationWatchers.cpp |
@@ -36,7 +36,7 @@ void GeolocationWatchers::remove(int id) { |
if (iter == m_idToNotifierMap.end()) |
return; |
m_notifierToIdMap.erase(iter->value); |
- m_idToNotifierMap.remove(iter); |
+ m_idToNotifierMap.erase(iter); |
} |
void GeolocationWatchers::remove(GeoNotifier* notifier) { |
@@ -44,7 +44,7 @@ void GeolocationWatchers::remove(GeoNotifier* notifier) { |
if (iter == m_notifierToIdMap.end()) |
return; |
m_idToNotifierMap.erase(iter->value); |
- m_notifierToIdMap.remove(iter); |
+ m_notifierToIdMap.erase(iter); |
} |
bool GeolocationWatchers::contains(GeoNotifier* notifier) const { |