| Index: Source/core/dom/ContextLifecycleNotifier.h
|
| diff --git a/Source/core/dom/ContextLifecycleNotifier.h b/Source/core/dom/ContextLifecycleNotifier.h
|
| index 3a4c914d973973124d58621585e1faf8e4ea69fb..94b6722f86f4142d2aa394c2cfccd94deff02a30 100644
|
| --- a/Source/core/dom/ContextLifecycleNotifier.h
|
| +++ b/Source/core/dom/ContextLifecycleNotifier.h
|
| @@ -29,7 +29,6 @@
|
| #define ContextLifecycleNotifier_h
|
|
|
| #include "platform/LifecycleNotifier.h"
|
| -#include "wtf/HashSet.h"
|
|
|
| namespace blink {
|
|
|
| @@ -46,17 +45,15 @@ public:
|
| void notifySuspendingActiveDOMObjects();
|
| void notifyStoppingActiveDOMObjects();
|
|
|
| - using ActiveDOMObjectSet = HashSet<ActiveDOMObject*>;
|
| -
|
| - const ActiveDOMObjectSet& activeDOMObjects() const { return m_activeDOMObjects; }
|
| - bool contains(ActiveDOMObject* object) const { return m_activeDOMObjects.contains(object); }
|
| + unsigned activeDOMObjectCount() const;
|
| bool hasPendingActivity() const;
|
|
|
| protected:
|
| explicit ContextLifecycleNotifier(ExecutionContext*);
|
|
|
| -private:
|
| - ActiveDOMObjectSet m_activeDOMObjects;
|
| +#if ENABLE(ASSERT)
|
| + bool contains(ActiveDOMObject*) const;
|
| +#endif
|
| };
|
|
|
| } // namespace blink
|
|
|