Changeset 141009 in webkit
- Timestamp:
- Jan 28, 2013, 2:28:21 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r141007 r141009 1 2013-01-28 Julien Chaffraix <jchaffraix@webkit.org> 2 3 Crash inside RenderBlock::layoutRunsAndFloatsInRange in the widow code 4 https://bugs.webkit.org/show_bug.cgi?id=108084 5 6 Reviewed by Dean Jackson. 7 8 This is a blind fix based on the code and Chromium's stack-traces. 9 10 Unfortunately no new test as I couldn't get a local reproduction. 11 12 * rendering/RenderBlockLineLayout.cpp: 13 (WebCore::RenderBlock::layoutRunsAndFloatsInRange): 14 Added a missing NULL-check: the previous 'while' finish if |lineBox| 15 is NULL and we don't want to crash in this case. 16 1 17 2013-01-28 Tony Chang <tony@chromium.org> 2 18 -
trunk/Source/WebCore/rendering/RenderBlockLineLayout.cpp
r140978 r141009 1668 1668 1669 1669 // If there were no breaks in the block, we didn't create any widows. 1670 if (!lineBox ->isFirstAfterPageBreak() || lineBox == firstLineInBlock)1670 if (!lineBox || !lineBox->isFirstAfterPageBreak() || lineBox == firstLineInBlock) 1671 1671 return; 1672 1672
Note:
See TracChangeset
for help on using the changeset viewer.