| Index: Source/core/frame/PlatformEventDispatcher.h
|
| diff --git a/Source/core/frame/PlatformEventDispatcher.h b/Source/core/frame/PlatformEventDispatcher.h
|
| index d05ddc9fc5a8f342fba0326b303bcf1f017cac69..7bed295b789d08a21e2484759feeb6fe3e3ac008 100644
|
| --- a/Source/core/frame/PlatformEventDispatcher.h
|
| +++ b/Source/core/frame/PlatformEventDispatcher.h
|
| @@ -11,14 +11,15 @@
|
| namespace blink {
|
| class PlatformEventController;
|
|
|
| -class PlatformEventDispatcher {
|
| +class PlatformEventDispatcher : public GarbageCollectedMixin {
|
| public:
|
| void addController(PlatformEventController*);
|
| void removeController(PlatformEventController*);
|
|
|
| + virtual void trace(Visitor*);
|
| +
|
| protected:
|
| PlatformEventDispatcher();
|
| - virtual ~PlatformEventDispatcher();
|
|
|
| void notifyControllers();
|
|
|
| @@ -28,7 +29,11 @@ protected:
|
| private:
|
| void purgeControllers();
|
|
|
| - WillBePersistentHeapVector<RawPtrWillBeMember<PlatformEventController> > m_controllers;
|
| +#if ENABLE(OILPAN)
|
| + void clearWeakMembers(Visitor*);
|
| +#endif
|
| +
|
| + WillBeHeapVector<PlatformEventController*> m_controllers;
|
| bool m_needsPurge;
|
| bool m_isDispatching;
|
| };
|
|
|