| 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..5cced8b6bdc239e60a3faa7700f1d4ba2a8b6b41 100644
|
| --- a/third_party/WebKit/Source/modules/geolocation/GeolocationWatchers.cpp
|
| +++ b/third_party/WebKit/Source/modules/geolocation/GeolocationWatchers.cpp
|
| @@ -16,7 +16,7 @@ DEFINE_TRACE(GeolocationWatchers) {
|
|
|
| bool GeolocationWatchers::add(int id, GeoNotifier* notifier) {
|
| DCHECK_GT(id, 0);
|
| - if (!m_idToNotifierMap.add(id, notifier).isNewEntry)
|
| + if (!m_idToNotifierMap.insert(id, notifier).isNewEntry)
|
| return false;
|
| m_notifierToIdMap.set(notifier, id);
|
| return true;
|
|
|