Changeset 180846 in webkit
- Timestamp:
- Feb 28, 2015 5:04:05 PM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r180839 r180846 1 2015-02-28 Simon Fraser <simon.fraser@apple.com> 2 3 FrameView::layoutTimerFired() should update style if needed before doing layout 4 https://bugs.webkit.org/show_bug.cgi?id=141688 5 6 Reviewed by Andreas Kling. 7 8 If the style recalc timer has been scheduled to fire after the layout timer, 9 when the layout timer fires, we might as well just do the style recalc 10 too. The call to updateStyleIfNeeded() will cancel the pending style 11 recalc timer. 12 13 This doesn't have much impact on the number of layouts (measured via PLT) 14 but seems like a reasonable thing to do. 15 16 * page/FrameView.cpp: 17 (WebCore::FrameView::layoutTimerFired): 18 1 19 2015-02-28 Simon Fraser <simon.fraser@apple.com> 2 20 -
trunk/Source/WebCore/page/FrameView.cpp
r180615 r180846 2440 2440 printf("Layout timer fired at %lld\n", frame().document()->elapsedTime().count()); 2441 2441 #endif 2442 frame().document()->updateStyleIfNeeded(); 2442 2443 layout(); 2443 2444 }
Note: See TracChangeset
for help on using the changeset viewer.