diff options
Diffstat (limited to 'WebCore/rendering/RenderListMarker.cpp')
-rw-r--r-- | WebCore/rendering/RenderListMarker.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/WebCore/rendering/RenderListMarker.cpp b/WebCore/rendering/RenderListMarker.cpp index 32b5999..9627711 100644 --- a/WebCore/rendering/RenderListMarker.cpp +++ b/WebCore/rendering/RenderListMarker.cpp @@ -28,7 +28,6 @@ #include "CharacterNames.h" #include "Document.h" #include "GraphicsContext.h" -#include "ListMarkerBox.h" #include "RenderLayer.h" #include "RenderListItem.h" #include "RenderView.h" @@ -508,9 +507,9 @@ void RenderListMarker::styleDidChange(StyleDifference diff, const RenderStyle* o InlineBox* RenderListMarker::createInlineBox() { - ListMarkerBox* box = new (renderArena()) ListMarkerBox(this); - m_inlineBoxWrapper = box; - return box; + InlineBox* result = RenderBox::createInlineBox(); + result->setIsText(isText()); + return result; } bool RenderListMarker::isImage() const |