Index: third_party/WebKit/Source/core/paint/ListMarkerPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/ListMarkerPainter.cpp b/third_party/WebKit/Source/core/paint/ListMarkerPainter.cpp |
index ff115bb4d93e4fdbd03351cc35865bc7b0d8dcc7..154b927ff8bbca8dfa89c468a8c76ebbb2975ec7 100644 |
--- a/third_party/WebKit/Source/core/paint/ListMarkerPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/ListMarkerPainter.cpp |
@@ -13,6 +13,7 @@ |
#include "core/paint/BlockPainter.h" |
#include "core/paint/LayoutObjectDrawingRecorder.h" |
#include "core/paint/PaintInfo.h" |
+#include "core/svg/graphics/SVGImageForContainer.h" |
#include "platform/RuntimeEnabledFeatures.h" |
#include "platform/geometry/LayoutPoint.h" |
#include "platform/graphics/GraphicsContextStateSaver.h" |
@@ -74,7 +75,9 @@ void ListMarkerPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& pai |
GraphicsContext* context = paintInfo.context; |
if (m_layoutListMarker.isImage()) { |
- context->drawImage(m_layoutListMarker.image()->image(&m_layoutListMarker, marker.size()).get(), marker); |
+ RefPtr<Image> image = m_layoutListMarker.image()->image( |
+ &m_layoutListMarker, marker.size(), m_layoutListMarker.styleRef().effectiveZoom(), m_layoutListMarker.image()->url()); |
+ context->drawImage(image.get(), marker); |
if (m_layoutListMarker.selectionState() != SelectionNone) { |
LayoutRect selRect = m_layoutListMarker.localSelectionRect(); |
selRect.moveBy(boxOrigin); |