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

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: Created 6 years, 3 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
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;
haraken 2014/09/30 12:02:14 Are you sure that this persistent heap vector of m
sof 2014/09/30 12:12:21 I haven't done a complete testrun with --enable-le
bool m_needsPurge;
bool m_isDispatching;
};

Powered by Google App Engine
This is Rietveld 408576698