| 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 9b8b9f70cfcf6e3fd2094888a6b88f0fa93cd7a3..399f4180989d075630d813ad2dfa2e8fa8486ac2 100644
|
| --- a/third_party/WebKit/Source/core/paint/ListMarkerPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/ListMarkerPainter.cpp
|
| @@ -72,10 +72,12 @@ void ListMarkerPainter::Paint(const PaintInfo& paint_info,
|
| GraphicsContext& context = paint_info.context;
|
|
|
| if (layout_list_marker_.IsImage()) {
|
| - context.DrawImage(layout_list_marker_.GetImage()
|
| - ->GetImage(layout_list_marker_, marker.Size())
|
| - .Get(),
|
| - marker);
|
| + context.DrawImage(
|
| + layout_list_marker_.GetImage()
|
| + ->GetImage(layout_list_marker_, layout_list_marker_.GetDocument(),
|
| + layout_list_marker_.StyleRef(), marker.Size())
|
| + .Get(),
|
| + marker);
|
| if (layout_list_marker_.GetSelectionState() != SelectionState::kNone) {
|
| LayoutRect sel_rect = layout_list_marker_.LocalSelectionRect();
|
| sel_rect.MoveBy(box_origin);
|
|
|