Index: third_party/WebKit/Source/core/layout/LayoutImage.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutImage.cpp b/third_party/WebKit/Source/core/layout/LayoutImage.cpp |
index 73d3a8ae1fad95c45ce1f893cd0f670be89f9aac..0ae3d202cf2ec5b6bea990455c627a83a5b4bbeb 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutImage.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutImage.cpp |
@@ -170,10 +170,10 @@ void LayoutImage::InvalidatePaintAndMarkForLayoutIfNeeded() { |
return; |
} |
- if (ImageResource() && ImageResource()->MaybeAnimated()) |
- SetShouldDoFullPaintInvalidation(kPaintInvalidationDelayedFull); |
- else |
- SetShouldDoFullPaintInvalidation(kPaintInvalidationFull); |
+ SetShouldDoFullPaintInvalidationWithoutGeometryChange( |
+ ImageResource() && ImageResource()->MaybeAnimated() |
+ ? kPaintInvalidationDelayedFull |
+ : kPaintInvalidationFull); |
// Tell any potential compositing layers that the image needs updating. |
ContentChanged(kImageChanged); |