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 0ae3d202cf2ec5b6bea990455c627a83a5b4bbeb..f1399e8338fd830002b54fe42e4e8719987ce14e 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutImage.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutImage.cpp |
@@ -172,8 +172,8 @@ void LayoutImage::InvalidatePaintAndMarkForLayoutIfNeeded() { |
SetShouldDoFullPaintInvalidationWithoutGeometryChange( |
ImageResource() && ImageResource()->MaybeAnimated() |
- ? kPaintInvalidationDelayedFull |
- : kPaintInvalidationFull); |
+ ? PaintInvalidationReason::kDelayedFull |
+ : PaintInvalidationReason::kImage); |
// Tell any potential compositing layers that the image needs updating. |
ContentChanged(kImageChanged); |