Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutImage.cpp

Issue 2872423002: Tweak PaintInvalidationReasons (Closed)
Patch Set: Rebaseline-cl Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutInline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698