Changeset 164769 in webkit
- Timestamp:
- Feb 26, 2014 6:16:43 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r164767 r164769 1 2014-02-26 Simon Fraser <simon.fraser@apple.com> 2 3 Fix two assertions/crashes in compositing code 4 https://bugs.webkit.org/show_bug.cgi?id=129414 5 6 Reviewed by Dean Jackson. 7 8 Fix two issues introduced in r164759. 9 10 * rendering/RenderLayerCompositor.cpp: 11 (WebCore::RenderLayerCompositor::removeFromScrollCoordinatedLayers): Don't call 12 ourselves recursively! 13 (WebCore::RenderLayerCompositor::detachScrollCoordinatedLayer): We call this 14 function unconditionally on layer teardown, so this assertion is bogus. 15 1 16 2014-02-26 Simon Fraser <simon.fraser@apple.com> 2 17 -
trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp
r164759 r164769 3372 3372 return; 3373 3373 3374 removeFromScrollCoordinatedLayers(layer);3375 3374 m_scrollCoordinatedLayers.remove(&layer); 3376 3375 m_scrollCoordinatedLayersNeedingUpdate.remove(&layer); … … 3534 3533 void RenderLayerCompositor::detachScrollCoordinatedLayer(RenderLayer& layer) 3535 3534 { 3536 ASSERT(m_scrollCoordinatedLayers.contains(&layer));3537 3538 3535 if (RenderLayerBacking* backing = layer.backing()) 3539 3536 backing->detachFromScrollingCoordinator();
Note: See TracChangeset
for help on using the changeset viewer.