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

Unified Diff: Source/core/page/Page.h

Issue 1335373003: Have a Page's MemoryPurgeController be a separate allocation also. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | « no previous file | Source/core/page/Page.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Page.h
diff --git a/Source/core/page/Page.h b/Source/core/page/Page.h
index 9340d87ece94dbd873f72a294ee8db3d1a9d56c3..20db3268d9bb46f989f27520a6a0f17e25dfb258 100644
--- a/Source/core/page/Page.h
+++ b/Source/core/page/Page.h
@@ -32,7 +32,6 @@
#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"
@@ -58,6 +57,7 @@ class EditorClient;
class FocusController;
class Frame;
class FrameHost;
+class MemoryPurgeController;
class PluginData;
class PointerLockController;
class ScrollingCoordinator;
@@ -205,7 +205,7 @@ public:
static void networkStateChanged(bool online);
- MemoryPurgeController& memoryPurgeController() { return m_memoryPurgeController; }
+ MemoryPurgeController& memoryPurgeController();
DECLARE_TRACE();
void willBeDestroyed();
@@ -277,7 +277,7 @@ private:
// FIXME: Most of the members of Page should move onto FrameHost.
OwnPtrWillBeMember<FrameHost> m_frameHost;
- MemoryPurgeController m_memoryPurgeController;
+ OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController;
};
extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>;
« no previous file with comments | « no previous file | Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698