Index: third_party/WebKit/Source/platform/LifecycleNotifier.h |
diff --git a/third_party/WebKit/Source/platform/LifecycleNotifier.h b/third_party/WebKit/Source/platform/LifecycleNotifier.h |
index 94a4784da7648b42c7e2439ab89309ef0a44d3f5..b867206079ab44fbdf89c98278cf25c0b179735a 100644 |
--- a/third_party/WebKit/Source/platform/LifecycleNotifier.h |
+++ b/third_party/WebKit/Source/platform/LifecycleNotifier.h |
@@ -106,7 +106,7 @@ inline void LifecycleNotifier<T, Observer>::notifyContextDestroyed() |
return; |
TemporaryChange<IterationType> scope(m_iterating, IteratingOverAll); |
- Vector<Observer*> snapshotOfObservers; |
+ WillBeHeapVector<RawPtrWillBeMember<Observer>> snapshotOfObservers; |
copyToVector(m_observers, snapshotOfObservers); |
for (Observer* observer : snapshotOfObservers) { |
// FIXME: Oilpan: At the moment, it's possible that the Observer is |