Changeset 157198 in webkit
- Timestamp:
- Oct 9, 2013, 5:53:23 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r157197 r157198 1 2013-10-09 Simon Fraser <simon.fraser@apple.com> 2 3 Layout assertion failure in WebCore::RenderView::paint 4 https://bugs.webkit.org/show_bug.cgi?id=121925 5 6 Reviewed by Tim Horton. 7 8 This fixes the assertion seen when running WK2 API tests. 9 10 If RenderLayerCompositor::flushPendingLayerChanges() was called before 11 the root layer was attached, it would set m_shouldFlushOnReattach 12 to do the flush later, after attaching (bypassing the runloop observer 13 that updated layout if necessary). 14 15 This could cause us to get to a CA commit without having updated 16 layout, hence the assertion. 17 18 Fix by having attachRootLayer() schedule a layer flush, rather than doing 19 one right away. 20 21 * rendering/RenderLayerCompositor.cpp: 22 (WebCore::RenderLayerCompositor::attachRootLayer): 23 1 24 2013-10-09 Bem Jones-Bey <bjonesbe@adobe.com> 2 25 -
trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp
r156749 r157198 2900 2900 2901 2901 if (m_shouldFlushOnReattach) { 2902 flushPendingLayerChanges(true);2902 scheduleLayerFlushNow(); 2903 2903 m_shouldFlushOnReattach = false; 2904 2904 }
Note:
See TracChangeset
for help on using the changeset viewer.