Changeset 167673 in webkit
- Timestamp:
- Apr 22, 2014 12:00:06 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r167672 r167673 1 2014-04-22 David Hyatt <hyatt@apple.com> 2 3 REGRESSION: Hitting asserts in new flow thread selection code. 4 https://bugs.webkit.org/show_bug.cgi?id=132019 5 6 Reviewed by Anders Carlsson. 7 8 Null checking flowThreadController is not enough. The list of threads 9 can be null even when the flowThreadController is not. That's why you 10 use hasRenderNamedFlowThreads. I patched the two bad places in the code 11 to use hasRenderNamedFlowThreads to stop the crashes. 12 13 * rendering/RenderView.cpp: 14 (WebCore::RenderView::selectionBounds): 15 (WebCore::RenderView::repaintSelection): 16 1 17 2014-04-22 Brent Fulgham <bfulgham@apple.com> 2 18 -
trunk/Source/WebCore/rendering/RenderView.cpp
r167652 r167673 664 664 LayoutRect selRect = subtreeSelectionBounds(*this, clipToVisibleContent); 665 665 666 if ( m_flowThreadController) {666 if (hasRenderNamedFlowThreads()) { 667 667 for (auto* namedFlowThread : *m_flowThreadController->renderNamedFlowThreadList()) { 668 668 LayoutRect currRect = subtreeSelectionBounds(*namedFlowThread, clipToVisibleContent); … … 718 718 repaintSubtreeSelection(*this); 719 719 720 if ( m_flowThreadController) {720 if (hasRenderNamedFlowThreads()) { 721 721 for (auto* namedFlowThread : *m_flowThreadController->renderNamedFlowThreadList()) 722 722 repaintSubtreeSelection(*namedFlowThread);
Note: See TracChangeset
for help on using the changeset viewer.