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()) { |