| Index: third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp
|
| index 77994ec559c40a7dba34b0cc86a9c298fd3455d9..2cf99987327ea9bd484a35b2923053764ac5c399 100644
|
| --- a/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/shapes/ShapeOutsideInfo.cpp
|
| @@ -170,7 +170,8 @@ std::unique_ptr<Shape> ShapeOutsideInfo::CreateShapeForImage(
|
|
|
| DCHECK(!style_image->IsPendingImage());
|
| RefPtr<Image> image =
|
| - style_image->GetImage(layout_box_, FlooredIntSize(image_size));
|
| + style_image->GetImage(layout_box_, layout_box_.GetDocument(),
|
| + layout_box_.StyleRef(), FlooredIntSize(image_size));
|
|
|
| return Shape::CreateRasterShape(image.Get(), shape_image_threshold,
|
| image_rect, margin_rect, writing_mode,
|
|
|