Index: Source/WebCore/rendering/RenderInline.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderInline.cpp (revision 115615) |
+++ Source/WebCore/rendering/RenderInline.cpp (working copy) |
@@ -426,7 +426,7 @@ |
madeNewBeforeBlock = true; |
} |
- RenderBlock* post = block->createAnonymousBlockWithSameTypeAs(pre); |
+ RenderBlock* post = toRenderBlock(pre->createAnonymousBoxWithSameTypeAs(block)); |
RenderObject* boxFirst = madeNewBeforeBlock ? block->firstChild() : pre->nextSibling(); |
if (madeNewBeforeBlock) |