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

Unified Diff: sky/engine/core/frame/LocalFrame.cpp

Issue 771323002: Remove a couple more core/ header includes from v8_inspector (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
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();

Powered by Google App Engine
This is Rietveld 408576698