Index: Source/core/layout/LayoutListMarker.cpp |
diff --git a/Source/core/layout/LayoutListMarker.cpp b/Source/core/layout/LayoutListMarker.cpp |
index bcdbd2ad8346887fc5661c02119730b6292b8a41..d16a0376c2b9205c8cee354db898b344a03e063f 100644 |
--- a/Source/core/layout/LayoutListMarker.cpp |
+++ b/Source/core/layout/LayoutListMarker.cpp |
@@ -1099,15 +1099,8 @@ void LayoutListMarker::updateContent() |
m_text = ""; |
- if (isImage()) { |
- // 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; |
- IntSize defaultBulletSize(bulletWidth, bulletWidth); |
- IntSize imageSize = calculateImageIntrinsicDimensions(m_image.get(), defaultBulletSize, DoNotScaleByEffectiveZoom); |
- m_image->setContainerSizeForLayoutObject(this, imageSize, style()->effectiveZoom()); |
+ if (isImage()) |
return; |
- } |
EListStyleType type = style()->listStyleType(); |
switch (type) { |