 Chromium Code Reviews
 Chromium Code Reviews Issue 619383002:
  Move PlatformEventDispatcher implementations to the Oilpan heap.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master
    
  
    Issue 619383002:
  Move PlatformEventDispatcher implementations to the Oilpan heap.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/blink.git@master| Index: Source/core/frame/PlatformEventDispatcher.h | 
| diff --git a/Source/core/frame/PlatformEventDispatcher.h b/Source/core/frame/PlatformEventDispatcher.h | 
| index d05ddc9fc5a8f342fba0326b303bcf1f017cac69..4b15f16114f74ee3dcd74900e060bf1d92e9d9e8 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,9 @@ protected: | 
| private: | 
| void purgeControllers(); | 
| - WillBePersistentHeapVector<RawPtrWillBeMember<PlatformEventController> > m_controllers; | 
| + void clearWeakMembers(Visitor*); | 
| 
haraken
2014/10/03 13:18:17
You can add #if ENABLE(OILPAN).
 
sof
2014/10/03 13:33:58
Added.
 | 
| + | 
| + WillBeHeapVector<PlatformEventController*> m_controllers; | 
| bool m_needsPurge; | 
| bool m_isDispatching; | 
| }; |