Chromium Code Reviews

Unified Diff: Source/WebCore/rendering/RenderBlockLineLayout.cpp

Issue 12084093: Merge 141009 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/rendering/RenderBlockLineLayout.cpp
===================================================================
--- Source/WebCore/rendering/RenderBlockLineLayout.cpp (revision 141459)
+++ Source/WebCore/rendering/RenderBlockLineLayout.cpp (working copy)
@@ -1670,7 +1670,7 @@
}
// If there were no breaks in the block, we didn't create any widows.
- if (!lineBox->isFirstAfterPageBreak() || lineBox == firstLineInBlock)
+ if (!lineBox || !lineBox->isFirstAfterPageBreak() || lineBox == firstLineInBlock)
return;
if (numLinesHanging < style()->widows()) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine