Index: Source/core/rendering/RenderListItem.cpp |
diff --git a/Source/core/rendering/RenderListItem.cpp b/Source/core/rendering/RenderListItem.cpp |
index 0ad3ca5970f174d185a783b187b2818658815127..52e184004d29ac0246e0bd66aa47344e3c5653e0 100644 |
--- a/Source/core/rendering/RenderListItem.cpp |
+++ b/Source/core/rendering/RenderListItem.cpp |
@@ -349,12 +349,11 @@ void RenderListItem::positionListMarker() |
bool adjustOverflow = false; |
LayoutUnit markerLogicalLeft; |
- RootInlineBox* root = m_marker->inlineBoxWrapper()->root(); |
+ RootInlineBox& root = m_marker->inlineBoxWrapper()->root(); |
bool hitSelfPaintingLayer = false; |
- RootInlineBox* rootBox = m_marker->inlineBoxWrapper()->root(); |
- LayoutUnit lineTop = rootBox->lineTop(); |
- LayoutUnit lineBottom = rootBox->lineBottom(); |
+ LayoutUnit lineTop = root.lineTop(); |
+ LayoutUnit lineBottom = root.lineBottom(); |
// FIXME: Need to account for relative positioning in the layout overflow. |
if (style()->isLeftToRightDirection()) { |