Index: Source/core/paint/ListMarkerPainter.cpp |
diff --git a/Source/core/paint/ListMarkerPainter.cpp b/Source/core/paint/ListMarkerPainter.cpp |
index 2dc9f359304fdb3ae45e573f1fb6e9ac6e2237ef..569eb66f190ed992e0e2affeadcd7e926e3e8894 100644 |
--- a/Source/core/paint/ListMarkerPainter.cpp |
+++ b/Source/core/paint/ListMarkerPainter.cpp |
@@ -52,7 +52,7 @@ void ListMarkerPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& pai |
if (m_layoutListMarker.selectionState() != LayoutObject::SelectionNone) { |
LayoutRect selRect = m_layoutListMarker.localSelectionRect(); |
selRect.moveBy(boxOrigin); |
- context->fillRect(pixelSnappedIntRect(selRect), m_layoutListMarker.selectionBackgroundColor()); |
+ context->fillRect(pixelSnappedIntRect(selRect), m_layoutListMarker.listItem()->selectionBackgroundColor()); |
} |
return; |
} |
@@ -60,7 +60,7 @@ void ListMarkerPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& pai |
if (m_layoutListMarker.selectionState() != LayoutObject::SelectionNone) { |
LayoutRect selRect = m_layoutListMarker.localSelectionRect(); |
selRect.moveBy(boxOrigin); |
- context->fillRect(pixelSnappedIntRect(selRect), m_layoutListMarker.selectionBackgroundColor()); |
+ context->fillRect(pixelSnappedIntRect(selRect), m_layoutListMarker.listItem()->selectionBackgroundColor()); |
} |
const Color color(m_layoutListMarker.resolveColor(CSSPropertyColor)); |