| Index: third_party/WebKit/Source/core/paint/SVGModelObjectPaintInvalidator.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/SVGModelObjectPaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/SVGModelObjectPaintInvalidator.cpp
|
| index 567e24bfe2ad6ce8cf921d4a351d4ce7ad0edff5..9604c9a6c7fe2efc1429354e5fe6ec5ede68efca 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGModelObjectPaintInvalidator.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGModelObjectPaintInvalidator.cpp
|
| @@ -16,7 +16,7 @@ PaintInvalidationReason SVGModelObjectPaintInvalidator::invalidatePaintIfNeeded(
|
| // Disable incremental invalidation for SVG objects to prevent under-
|
| // invalidation. Unlike boxes, it is non-trivial (and rare) for SVG objects
|
| // to be able to be incrementally invalidated (e.g., on height changes).
|
| - if (reason == PaintInvalidationIncremental)
|
| + if (reason == PaintInvalidationIncremental && m_context.oldBounds != m_context.newBounds)
|
| reason = PaintInvalidationFull;
|
|
|
| return ObjectPaintInvalidator(m_object, m_context).invalidatePaintIfNeededWithComputedReason(reason);
|
|
|