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

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

Issue 916033002: Oilpan: Move LifecycleNotifier's hierarchy to Oilpan's heap Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/dom/ExecutionContext.cpp ('k') | Source/core/frame/DOMWindowLifecycleNotifier.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/DOMWindowLifecycleNotifier.h
diff --git a/Source/core/frame/DOMWindowLifecycleNotifier.h b/Source/core/frame/DOMWindowLifecycleNotifier.h
index 0dd1f6f3609a0b688c84011d74e78c357faea407..5091458e54e03cfe7f591b2d65e8dbd04129e273 100644
--- a/Source/core/frame/DOMWindowLifecycleNotifier.h
+++ b/Source/core/frame/DOMWindowLifecycleNotifier.h
@@ -46,11 +46,13 @@ public:
virtual void addObserver(Observer*) override;
virtual void removeObserver(Observer*) override;
+ virtual void trace(Visitor*) override;
+
protected:
explicit DOMWindowLifecycleNotifier(LocalDOMWindow*);
private:
- typedef HashSet<DOMWindowLifecycleObserver*> DOMWindowObserverSet;
+ typedef WillBeHeapHashSet<RawPtrWillBeWeakMember<DOMWindowLifecycleObserver>> DOMWindowObserverSet;
DOMWindowObserverSet m_windowObservers;
};
« no previous file with comments | « Source/core/dom/ExecutionContext.cpp ('k') | Source/core/frame/DOMWindowLifecycleNotifier.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698