| Index: Source/core/rendering/RenderListMarker.cpp
|
| diff --git a/Source/core/rendering/RenderListMarker.cpp b/Source/core/rendering/RenderListMarker.cpp
|
| index fe936092b3cd8bea91adf3c18e7641d54bfbde9a..9ea89bdb5081ab5f228b71cde49965910a10e430 100644
|
| --- a/Source/core/rendering/RenderListMarker.cpp
|
| +++ b/Source/core/rendering/RenderListMarker.cpp
|
| @@ -1377,7 +1377,9 @@ void RenderListMarker::updateContent()
|
| // FIXME: This is a somewhat arbitrary width. Generated images for markers really won't become particularly useful
|
| // until we support the CSS3 marker pseudoclass to allow control over the width and height of the marker box.
|
| int bulletWidth = style()->fontMetrics().ascent() / 2;
|
| - m_image->setContainerSizeForRenderer(this, IntSize(bulletWidth, bulletWidth), style()->effectiveZoom());
|
| + IntSize defaultBulletSize(bulletWidth, bulletWidth);
|
| + IntSize imageSize = calculateImageIntrinsicDimensions(m_image.get(), defaultBulletSize, DoNotScaleByEffectiveZoom);
|
| + m_image->setContainerSizeForRenderer(this, imageSize, style()->effectiveZoom());
|
| return;
|
| }
|
|
|
|
|