Changeset 179947 in webkit
- Timestamp:
- Feb 11, 2015, 12:34:15 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r179945 r179947 1 2015-02-11 Simon Fraser <simon.fraser@apple.com> 2 3 Improve the showFrameTree() output slightly 4 https://bugs.webkit.org/show_bug.cgi?id=141482 5 6 Reviewed by Zalan Bujtas. 7 8 Have showFrameTree() show the Frame's RenderView so it can be correlated with 9 layer dumps, and show styleRecalc and needsLayout state. 10 11 * page/FrameTree.cpp: 12 (printFrames): 13 * page/FrameView.cpp: 14 (WebCore::FrameView::updateLayoutAndStyleIfNeededRecursive): Add an explanatory 15 comment about why we don't walk the Frame tree. 16 1 17 2015-02-11 Alex Christensen <achristensen@webkit.org> 2 18 -
trunk/Source/WebCore/page/FrameTree.cpp
r161703 r179947 425 425 printf(" ownerElement=%p\n", frame.ownerElement()); 426 426 printIndent(indent); 427 printf(" frameView=%p \n", view);427 printf(" frameView=%p (needs layout %d)\n", view, view ? view->needsLayout() : false); 428 428 printIndent(indent); 429 printf(" document=%p\n", frame.document());429 printf(" renderView=%p\n", view ? view->renderView() : nullptr); 430 430 printIndent(indent); 431 printf(" uri=%s\n\n", frame.document()->documentURI().utf8().data()); 431 printf(" document=%p (needs style recalc %d)\n", frame.document(), frame.document() ? frame.document()->needsStyleRecalc() : false); 432 printIndent(indent); 433 printf(" uri=%s\n", frame.document()->documentURI().utf8().data()); 432 434 433 435 for (WebCore::Frame* child = frame.tree().firstChild(); child; child = child->tree().nextSibling()) -
trunk/Source/WebCore/page/FrameView.cpp
r179726 r179947 3968 3968 // calls, as they can potentially re-enter a layout of the parent frame view, which may add/remove scrollbars 3969 3969 // and thus mutates the children() set. 3970 // We use the Widget children because walking the Frame tree would include display:none frames. 3970 3971 Vector<Ref<FrameView>, 16> childViews; 3971 3972 childViews.reserveInitialCapacity(children().size());
Note:
See TracChangeset
for help on using the changeset viewer.