| Index: Source/core/page/Page.h
|
| diff --git a/Source/core/page/Page.h b/Source/core/page/Page.h
|
| index db79ad41952be94af326a559751c0bc50d7ff22c..6954469f71b0ad506acb6b015de5a75ad43ff791 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"
|
| @@ -200,6 +201,8 @@ public:
|
|
|
| static void networkStateChanged(bool online);
|
|
|
| + MemoryPurgeController& memoryPurgeController() { return m_memoryPurgeController; }
|
| +
|
| DECLARE_TRACE();
|
| void willBeDestroyed();
|
|
|
| @@ -269,6 +272,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>;
|
|
|