| 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 b11a54e415859e83a374a1c0d384892f1fa0ea8d..e0bfc0e2bccd0fbcab15d743e6d17a6e5c96a488 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;
|
|
|