| Index: Source/core/frame/LocalFrame.cpp
|
| diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
|
| index ba926b976b5f51d0d4fb4ae53e940ca70ebe0c34..3178d84acd3e95b710339411de20d438d4f5d8d7 100644
|
| --- a/Source/core/frame/LocalFrame.cpp
|
| +++ b/Source/core/frame/LocalFrame.cpp
|
| @@ -454,25 +454,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;
|
|
|