Index: Source/core/html/HTMLOListElement.cpp |
diff --git a/Source/core/html/HTMLOListElement.cpp b/Source/core/html/HTMLOListElement.cpp |
index 4f2bf4014e29bcfab915e7ef76e61d0b8fb2598f..4da5176a545b3d09689ce83c8e5da11c6da56275 100644 |
--- a/Source/core/html/HTMLOListElement.cpp |
+++ b/Source/core/html/HTMLOListElement.cpp |
@@ -96,7 +96,7 @@ void HTMLOListElement::setStart(int start) |
void HTMLOListElement::updateItemValues() |
{ |
- if (!renderer()) |
+ if (!layoutObject()) |
return; |
updateDistribution(); |
LayoutListItem::updateItemValuesForOrderedList(this); |