Index: Source/core/frame/LocalFrame.cpp |
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
index efa8c40b47e6976d713c068dc4dd96e86d694749..d86d5b9cc9459d18bea63f5f2fbc9645ba25d003 100644 |
--- a/Source/core/frame/LocalFrame.cpp |
+++ b/Source/core/frame/LocalFrame.cpp |
@@ -449,25 +449,6 @@ bool LocalFrame::inScope(TreeScope* scope) const |
return owner->treeScope() == scope; |
} |
-void LocalFrame::countObjectsNeedingLayout(unsigned& needsLayoutObjects, unsigned& totalObjects, bool& isPartial) |
-{ |
- LayoutObject* root = view()->layoutRoot(); |
- isPartial = true; |
- if (!root) { |
- isPartial = false; |
- root = contentRenderer(); |
- } |
- |
- needsLayoutObjects = 0; |
- totalObjects = 0; |
- |
- for (LayoutObject* o = root; o; o = o->nextInPreOrder(root)) { |
- ++totalObjects; |
- if (o->needsLayout()) |
- ++needsLayoutObjects; |
- } |
-} |
- |
String LocalFrame::layerTreeAsText(LayerTreeFlags flags) const |
{ |
TextStream textStream; |