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

Unified Diff: Source/core/frame/LocalFrame.cpp

Issue 927773002: Keep track of multiple layout roots (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add bug link Created 5 years, 10 months 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
« no previous file with comments | « Source/core/frame/LocalFrame.h ('k') | Source/core/inspector/InspectorInstrumentation.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/frame/LocalFrame.h ('k') | Source/core/inspector/InspectorInstrumentation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698