diff -r 800203832575 -r 30342f40acbf webengine/osswebengine/WebCore/rendering/RenderBR.cpp
--- a/webengine/osswebengine/WebCore/rendering/RenderBR.cpp Mon Jun 21 16:54:17 2010 +0300
+++ b/webengine/osswebengine/WebCore/rendering/RenderBR.cpp Thu Jul 15 19:53:20 2010 +0300
@@ -45,7 +45,9 @@
// We only treat a box as text for a
if we are on a line by ourself or in strict mode
// (Note the use of strict mode. In "almost strict" mode, we don't treat the box for
as text.)
InlineTextBox* box = static_cast(RenderText::createInlineBox(makePlaceholder, isRootLineBox, isOnlyRun));
- box->setIsText(isOnlyRun || document()->inStrictMode());
+ if ( box ) {
+ box->setIsText(isOnlyRun || document()->inStrictMode());
+ }
return box;
}