Index: third_party/WebKit/Source/core/page/NetworkStateNotifier.cpp |
diff --git a/third_party/WebKit/Source/core/page/NetworkStateNotifier.cpp b/third_party/WebKit/Source/core/page/NetworkStateNotifier.cpp |
index 3ceaaccce04e8263973b73ff46f6fe777f853d35..fc38dfe137f6377b4edfaf1f1e548e348c3dd6f5 100644 |
--- a/third_party/WebKit/Source/core/page/NetworkStateNotifier.cpp |
+++ b/third_party/WebKit/Source/core/page/NetworkStateNotifier.cpp |
@@ -205,7 +205,7 @@ void NetworkStateNotifier::collectZeroedObservers(ObserverList* list, |
if (list->observers.isEmpty()) { |
MutexLocker locker(m_mutex); |
- m_observers.remove(context); // deletes list |
+ m_observers.erase(context); // deletes list |
} |
} |