Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
index da3c689eb279b90f9eaf8e78a50e8e219029dc6c..89fd2d55ca862fd8b6f4e7e78161f177f9810990 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -1646,12 +1646,12 @@ void LayoutBox::imageChanged(WrappedImagePtr image, const IntRect*) { |
styleRef().maskBoxImage().image()->data() == image) || |
(styleRef().boxReflect() && styleRef().boxReflect()->mask().image() && |
styleRef().boxReflect()->mask().image()->data() == image)) { |
- setShouldDoFullPaintInvalidation(); |
+ setShouldDoFullPaintInvalidationWithoutGeometryChange(); |
} else { |
for (const FillLayer* layer = &styleRef().maskLayers(); layer; |
layer = layer->next()) { |
if (layer->image() && image == layer->image()->data()) { |
- setShouldDoFullPaintInvalidation(); |
+ setShouldDoFullPaintInvalidationWithoutGeometryChange(); |
break; |
} |
} |
@@ -1669,7 +1669,7 @@ void LayoutBox::imageChanged(WrappedImagePtr image, const IntRect*) { |
if (maybeAnimated) { |
setMayNeedPaintInvalidationAnimatedBackgroundImage(); |
} else { |
- setShouldDoFullPaintInvalidation(); |
+ setShouldDoFullPaintInvalidationWithoutGeometryChange(); |
setBackgroundChangedSinceLastPaintInvalidation(); |
} |
break; |
@@ -1750,8 +1750,10 @@ void LayoutBox::ensureIsReadyForPaintInvalidation() { |
LayoutBoxModelObject::ensureIsReadyForPaintInvalidation(); |
if (mayNeedPaintInvalidationAnimatedBackgroundImage() && |
- !backgroundIsKnownToBeObscured()) |
- setShouldDoFullPaintInvalidation(PaintInvalidationDelayedFull); |
+ !backgroundIsKnownToBeObscured()) { |
+ setShouldDoFullPaintInvalidationWithoutGeometryChange( |
+ PaintInvalidationDelayedFull); |
+ } |
if (fullPaintInvalidationReason() != PaintInvalidationDelayedFull || |
!intersectsVisibleViewport()) |
@@ -1763,7 +1765,8 @@ void LayoutBox::ensureIsReadyForPaintInvalidation() { |
// Conservatively assume the delayed paint invalidation was caused by |
// background image change. |
setBackgroundChangedSinceLastPaintInvalidation(); |
- setShouldDoFullPaintInvalidation(PaintInvalidationFull); |
+ setShouldDoFullPaintInvalidationWithoutGeometryChange( |
+ PaintInvalidationFull); |
} |
} |