Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(952)

Unified Diff: Source/core/frame/PlatformEventDispatcher.h

Issue 618673002: Oilpan: reliably track listening PlatformEventControllers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Don't start updating in a stopped context Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/frame/PlatformEventController.h ('k') | Source/core/frame/PlatformEventDispatcher.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/PlatformEventDispatcher.h
diff --git a/Source/core/frame/PlatformEventDispatcher.h b/Source/core/frame/PlatformEventDispatcher.h
index 406cf680ce7854cba0fbdfae4347f7baf5ba17a8..d05ddc9fc5a8f342fba0326b303bcf1f017cac69 100644
--- a/Source/core/frame/PlatformEventDispatcher.h
+++ b/Source/core/frame/PlatformEventDispatcher.h
@@ -5,6 +5,7 @@
#ifndef PlatformEventDispatcher_h
#define PlatformEventDispatcher_h
+#include "platform/heap/Handle.h"
#include "wtf/Vector.h"
namespace blink {
@@ -27,7 +28,7 @@ protected:
private:
void purgeControllers();
- Vector<PlatformEventController*> m_controllers;
+ WillBePersistentHeapVector<RawPtrWillBeMember<PlatformEventController> > m_controllers;
bool m_needsPurge;
bool m_isDispatching;
};
« no previous file with comments | « Source/core/frame/PlatformEventController.h ('k') | Source/core/frame/PlatformEventDispatcher.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698