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(); |