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

Unified Diff: Source/core/page/PageLifecycleNotifier.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/inspector/AsyncCallTracker.cpp ('k') | Source/core/page/PageLifecycleNotifier.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/PageLifecycleNotifier.h
diff --git a/Source/core/page/PageLifecycleNotifier.h b/Source/core/page/PageLifecycleNotifier.h
index 9c28c6731e14b984b42aea76ae3cb3e00dcde310..1cd9fb8dc05668fe5344eba5ed192eb11a1ce7e7 100644
--- a/Source/core/page/PageLifecycleNotifier.h
+++ b/Source/core/page/PageLifecycleNotifier.h
@@ -45,11 +45,13 @@ public:
virtual void addObserver(Observer*) override;
virtual void removeObserver(Observer*) override;
+ virtual void trace(Visitor*) override;
+
protected:
explicit PageLifecycleNotifier(Page*);
private:
- using PageObserverSet = HashSet<PageLifecycleObserver*>;
+ using PageObserverSet = WillBeHeapHashSet<RawPtrWillBeWeakMember<PageLifecycleObserver>>;
PageObserverSet m_pageObservers;
};
« no previous file with comments | « Source/core/inspector/AsyncCallTracker.cpp ('k') | Source/core/page/PageLifecycleNotifier.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698