| 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 18aca376fbdbcb164cdb09ca0183a9e1e7efc308..b11a54e415859e83a374a1c0d384892f1fa0ea8d 100644
|
| --- a/third_party/WebKit/Source/modules/geolocation/GeolocationWatchers.cpp
|
| +++ b/third_party/WebKit/Source/modules/geolocation/GeolocationWatchers.cpp
|
| @@ -35,7 +35,7 @@ void GeolocationWatchers::remove(int id) {
|
| IdToNotifierMap::iterator iter = m_idToNotifierMap.find(id);
|
| if (iter == m_idToNotifierMap.end())
|
| return;
|
| - m_notifierToIdMap.remove(iter->value);
|
| + m_notifierToIdMap.erase(iter->value);
|
| m_idToNotifierMap.remove(iter);
|
| }
|
|
|
| @@ -43,7 +43,7 @@ void GeolocationWatchers::remove(GeoNotifier* notifier) {
|
| NotifierToIdMap::iterator iter = m_notifierToIdMap.find(notifier);
|
| if (iter == m_notifierToIdMap.end())
|
| return;
|
| - m_idToNotifierMap.remove(iter->value);
|
| + m_idToNotifierMap.erase(iter->value);
|
| m_notifierToIdMap.remove(iter);
|
| }
|
|
|
|
|