Index: third_party/WebKit/Source/core/layout/LayoutListMarker.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp b/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp |
index 94d94ecf1cc97e9e353f2323f7f8f170d7d458b4..5fef29e61580f757ae8d3a9f923952a8974ea964 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp |
@@ -72,8 +72,7 @@ LayoutSize LayoutListMarker::imageBulletSize() const |
// become particularly useful until we support the CSS3 marker pseudoclass to allow control over |
// the width and height of the marker box. |
LayoutUnit bulletWidth = style()->fontMetrics().ascent() / LayoutUnit(2); |
- LayoutSize defaultBulletSize(bulletWidth, bulletWidth); |
- return calculateImageIntrinsicDimensions(m_image.get(), defaultBulletSize, DoNotScaleByEffectiveZoom); |
+ return m_image->imageSize(this, style()->effectiveZoom(), LayoutSize(bulletWidth, bulletWidth)); |
} |
void LayoutListMarker::styleWillChange(StyleDifference diff, const ComputedStyle& newStyle) |