Changeset 172039 in webkit
- Timestamp:
- Aug 5, 2014 11:34:57 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r172036 r172039 1 2014-08-05 Antti Koivisto <antti@apple.com> 2 3 REGRESSION: Extremely flashy scrolling while a page is still loading (because of flush throttling) 4 https://bugs.webkit.org/show_bug.cgi?id=135603 5 <rdar://problem/17876385> 6 7 Reviewed by Andreas Kling. 8 9 * page/FrameView.cpp: 10 (WebCore::determineLayerFlushThrottleState): 11 12 Disable throttling after user has scrolled the page. 13 This is consistent with the speculative tiling. It also gets enabled on first scroll. 14 15 (WebCore::FrameView::setWasScrolledByUser): 16 1 17 2014-08-05 Martin Hodovan <mhodovan.u-szeged@partner.samsung.com> 2 18 -
trunk/Source/WebCore/page/FrameView.cpp
r171896 r172039 2277 2277 if (!page.progress().isMainLoadProgressing()) 2278 2278 return 0; 2279 // Scrolling during page loading disables throttling. 2280 if (page.mainFrame().view()->wasScrolledByUser()) 2281 return 0; 2279 2282 // Disable for image documents so large GIF animations don't get throttled during loading. 2280 2283 auto* document = page.mainFrame().document(); … … 3567 3570 return; 3568 3571 m_wasScrolledByUser = wasScrolledByUser; 3572 updateLayerFlushThrottling(); 3569 3573 adjustTiledBackingCoverage(); 3570 3574 }
Note: See TracChangeset
for help on using the changeset viewer.