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

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

Issue 20231002: Replace RenderArena with PartitionAlloc (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 5 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 | « Source/core/page/Page.h ('k') | Source/core/platform/Arena.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Page.cpp
diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp
index a156d3d79ff8e451637d3856867c4c81db71f035..df437b62166db1cfa008753370393fa7604b4927 100644
--- a/Source/core/page/Page.cpp
+++ b/Source/core/page/Page.cpp
@@ -50,7 +50,6 @@
#include "core/page/scrolling/ScrollingCoordinator.h"
#include "core/platform/network/NetworkStateNotifier.h"
#include "core/plugins/PluginData.h"
-#include "core/rendering/RenderArena.h"
#include "core/rendering/RenderTheme.h"
#include "core/rendering/RenderView.h"
#include "core/storage/StorageNamespace.h"
@@ -164,20 +163,6 @@ Page::~Page()
#endif
}
-ArenaSize Page::renderTreeSize() const
-{
- ArenaSize total(0, 0);
- for (Frame* frame = mainFrame(); frame; frame = frame->tree()->traverseNext()) {
- if (!frame->document())
- continue;
- if (RenderArena* arena = frame->document()->renderArena()) {
- total.treeSize += arena->totalRenderArenaSize();
- total.allocated += arena->totalRenderArenaAllocatedBytes();
- }
- }
- return total;
-}
-
ViewportArguments Page::viewportArguments() const
{
return mainFrame() && mainFrame()->document() ? mainFrame()->document()->viewportArguments() : ViewportArguments();
« no previous file with comments | « Source/core/page/Page.h ('k') | Source/core/platform/Arena.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698