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 b77747df22d204d5f8634561d4712ad834c622bf..7c948d4d6e655bc3f9a182608409ca57247d6068 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) |