| Index: sky/engine/core/frame/LocalFrame.cpp
|
| diff --git a/sky/engine/core/frame/LocalFrame.cpp b/sky/engine/core/frame/LocalFrame.cpp
|
| index 1673a5c4c64449f0657759eb55c6cf3814126bf0..5c3b0c09ff17b43cd01e09dfe345047a8d8bb389 100644
|
| --- a/sky/engine/core/frame/LocalFrame.cpp
|
| +++ b/sky/engine/core/frame/LocalFrame.cpp
|
| @@ -302,26 +302,6 @@ void LocalFrame::createView(const IntSize& viewportSize, const Color& background
|
| frameView->updateBackgroundRecursively(backgroundColor, transparent);
|
| }
|
|
|
| -
|
| -void LocalFrame::countObjectsNeedingLayout(unsigned& needsLayoutObjects, unsigned& totalObjects, bool& isPartial)
|
| -{
|
| - RenderObject* root = view()->layoutRoot();
|
| - isPartial = true;
|
| - if (!root) {
|
| - isPartial = false;
|
| - root = contentRenderer();
|
| - }
|
| -
|
| - needsLayoutObjects = 0;
|
| - totalObjects = 0;
|
| -
|
| - for (RenderObject* o = root; o; o = o->nextInPreOrder(root)) {
|
| - ++totalObjects;
|
| - if (o->needsLayout())
|
| - ++needsLayoutObjects;
|
| - }
|
| -}
|
| -
|
| void LocalFrame::deviceOrPageScaleFactorChanged()
|
| {
|
| document()->mediaQueryAffectingValueChanged();
|
|
|