| Index: Source/core/page/Page.h
|
| diff --git a/Source/core/page/Page.h b/Source/core/page/Page.h
|
| index 083e9907dd61a4dffbdbce28b9b0bc959f06afcc..ca739c45e3bfcea263a64842a3af003bf73d5199 100644
|
| --- a/Source/core/page/Page.h
|
| +++ b/Source/core/page/Page.h
|
| @@ -30,6 +30,7 @@
|
| #include "platform/Supplementable.h"
|
| #include "platform/geometry/LayoutRect.h"
|
| #include "platform/geometry/Region.h"
|
| +#include "platform/heap/Handle.h"
|
| #include "wtf/Forward.h"
|
| #include "wtf/HashSet.h"
|
| #include "wtf/Noncopyable.h"
|
| @@ -204,7 +205,7 @@ public:
|
|
|
| double timerAlignmentInterval() const;
|
|
|
| - class MultisamplingChangedObserver {
|
| + class MultisamplingChangedObserver : public WillBeGarbageCollectedMixin {
|
| public:
|
| virtual void multisamplingChanged(bool) = 0;
|
| };
|
| @@ -218,7 +219,7 @@ public:
|
| PassOwnPtr<LifecycleNotifier<Page> > createLifecycleNotifier();
|
|
|
| void trace(Visitor*);
|
| -
|
| + void clearWeakMembers(Visitor*);
|
| void willBeDestroyed();
|
|
|
| protected:
|
| @@ -284,7 +285,7 @@ private:
|
| bool m_isPainting;
|
| #endif
|
|
|
| - HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers;
|
| + WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver> > m_multisamplingChangedObservers;
|
|
|
| // A pointer to all the interfaces provided to in-process Frames for this Page.
|
| // FIXME: Most of the members of Page should move onto FrameHost.
|
|
|