Index: third_party/WebKit/Source/core/page/NetworkStateNotifier.h |
diff --git a/third_party/WebKit/Source/core/page/NetworkStateNotifier.h b/third_party/WebKit/Source/core/page/NetworkStateNotifier.h |
index 955284c0e787a5380c9532b830581c411ce6e658..f25348326696b0878417f9c196ede217120dfa30 100644 |
--- a/third_party/WebKit/Source/core/page/NetworkStateNotifier.h |
+++ b/third_party/WebKit/Source/core/page/NetworkStateNotifier.h |
@@ -34,6 +34,7 @@ |
#include "wtf/Noncopyable.h" |
#include "wtf/ThreadingPrimitives.h" |
#include "wtf/Vector.h" |
+#include <memory> |
namespace blink { |
@@ -142,7 +143,7 @@ private: |
// The ObserverListMap is cross-thread accessed, adding/removing Observers running |
// within an ExecutionContext. Kept off-heap to ease cross-thread allocation and use; |
// the observers are (already) responsible for explicitly unregistering while finalizing. |
- using ObserverListMap = HashMap<UntracedMember<ExecutionContext>, OwnPtr<ObserverList>>; |
+ using ObserverListMap = HashMap<UntracedMember<ExecutionContext>, std::unique_ptr<ObserverList>>; |
void notifyObserversOfConnectionChangeOnContext(WebConnectionType, double maxBandwidthMbps, ExecutionContext*); |