| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp
|
| index 76092d593be9e77aa18fef859fda74b676fafd18..c1b6fbd80e53bbb5666511a87c7f793b8385736e 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGImage.cpp
|
| @@ -106,7 +106,7 @@ bool LayoutSVGImage::UpdateBoundingBox() {
|
| object_bounding_box_.SetSize(CalculateObjectSize());
|
|
|
| if (old_object_bounding_box != object_bounding_box_) {
|
| - SetShouldDoFullPaintInvalidation();
|
| + SetShouldDoFullPaintInvalidation(PaintInvalidationReason::kImage);
|
| needs_boundaries_update_ = true;
|
| }
|
|
|
| @@ -199,7 +199,7 @@ void LayoutSVGImage::ImageChanged(WrappedImagePtr, const IntRect*) {
|
| SetNeedsLayout(LayoutInvalidationReason::kSizeChanged);
|
| }
|
|
|
| - SetShouldDoFullPaintInvalidation();
|
| + SetShouldDoFullPaintInvalidation(PaintInvalidationReason::kImage);
|
| }
|
|
|
| void LayoutSVGImage::AddOutlineRects(Vector<LayoutRect>& rects,
|
|
|