Index: Source/core/layout/LayoutListItem.cpp |
diff --git a/Source/core/layout/LayoutListItem.cpp b/Source/core/layout/LayoutListItem.cpp |
index 15dbf1580c1dad55e905411d03d9837a32c6772e..27cf22d899c4d652d62b3bf66d2dbb22e4dc9075 100644 |
--- a/Source/core/layout/LayoutListItem.cpp |
+++ b/Source/core/layout/LayoutListItem.cpp |
@@ -357,7 +357,7 @@ void LayoutListItem::positionListMarker() |
adjustOverflow = true; |
} |
box->setOverflowFromLogicalRects(newLogicalLayoutOverflowRect, newLogicalVisualOverflowRect, lineTop, lineBottom); |
- if (box->boxModelObject()->hasSelfPaintingLayer()) |
+ if (box->boxModelObject().hasSelfPaintingLayer()) |
hitSelfPaintingLayer = true; |
} |
} else { |
@@ -379,7 +379,7 @@ void LayoutListItem::positionListMarker() |
} |
box->setOverflowFromLogicalRects(newLogicalLayoutOverflowRect, newLogicalVisualOverflowRect, lineTop, lineBottom); |
- if (box->boxModelObject()->hasSelfPaintingLayer()) |
+ if (box->boxModelObject().hasSelfPaintingLayer()) |
hitSelfPaintingLayer = true; |
} |
} |