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

Unified Diff: Source/core/dom/ContextLifecycleNotifier.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/ActiveDOMObject.cpp ('k') | Source/core/dom/ContextLifecycleNotifier.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ContextLifecycleNotifier.h
diff --git a/Source/core/dom/ContextLifecycleNotifier.h b/Source/core/dom/ContextLifecycleNotifier.h
index 178bf676ddc25d37917f03c261bbf2d8a4fd5fb1..2f6acc11b80796403cdd2586dcc33dd5334b882d 100644
--- a/Source/core/dom/ContextLifecycleNotifier.h
+++ b/Source/core/dom/ContextLifecycleNotifier.h
@@ -39,7 +39,7 @@ class ExecutionContext;
class ContextLifecycleNotifier : public LifecycleNotifier<ExecutionContext> {
public:
- typedef HashSet<ActiveDOMObject*> ActiveDOMObjectSet;
+ typedef WillBeHeapHashSet<RawPtrWillBeWeakMember<ActiveDOMObject>> ActiveDOMObjectSet;
const ActiveDOMObjectSet& activeDOMObjects() const { return m_activeDOMObjects; }
@@ -53,6 +53,8 @@ public:
bool contains(ActiveDOMObject* object) const { return m_activeDOMObjects.contains(object); }
bool hasPendingActivity() const;
+ virtual void trace(Visitor*) override;
+
protected:
explicit ContextLifecycleNotifier(ExecutionContext*);
« no previous file with comments | « Source/core/dom/ActiveDOMObject.cpp ('k') | Source/core/dom/ContextLifecycleNotifier.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698