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 81810151bf3ef564658fbe8d077bf6425da70581..8e8ecfc4efdcdef3d600ced56feedc4b4b1c6769 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutImage.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutImage.cpp |
@@ -185,7 +185,7 @@ |
updateInnerContentRect(); |
} |
- if (imageResource() && imageResource()->image() && imageResource()->image()->maybeAnimated()) |
+ if (imageResource() && imageResource()->maybeAnimated()) |
setShouldDoFullPaintInvalidation(PaintInvalidationDelayedFull); |
else |
setShouldDoFullPaintInvalidation(PaintInvalidationFull); |