| Index: Source/core/page/Page.h
|
| diff --git a/Source/core/page/Page.h b/Source/core/page/Page.h
|
| index bbb40f6a6721c1a30cd1bf94181281e758f434db..9340d87ece94dbd873f72a294ee8db3d1a9d56c3 100644
|
| --- a/Source/core/page/Page.h
|
| +++ b/Source/core/page/Page.h
|
| @@ -32,6 +32,7 @@
|
| #include "core/page/PageLifecycleNotifier.h"
|
| #include "core/page/PageLifecycleObserver.h"
|
| #include "core/page/PageVisibilityState.h"
|
| +#include "platform/MemoryPurgeController.h"
|
| #include "platform/Supplementable.h"
|
| #include "platform/geometry/LayoutRect.h"
|
| #include "platform/geometry/Region.h"
|
| @@ -204,6 +205,8 @@ public:
|
|
|
| static void networkStateChanged(bool online);
|
|
|
| + MemoryPurgeController& memoryPurgeController() { return m_memoryPurgeController; }
|
| +
|
| DECLARE_TRACE();
|
| void willBeDestroyed();
|
|
|
| @@ -273,6 +276,8 @@ private:
|
| // 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.
|
| OwnPtrWillBeMember<FrameHost> m_frameHost;
|
| +
|
| + MemoryPurgeController m_memoryPurgeController;
|
| };
|
|
|
| extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>;
|
|
|