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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.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/LayoutView.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
index 189402ebc688ce16aaf3f47477d3fbb75db4ad67..a2603d5da1ea50c30ac504d0855a0c5435350f90 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
@@ -241,7 +241,7 @@ void LayoutView::SetShouldDoFullPaintInvalidationOnResizeIfNeeded(
Style()->BackgroundLayers())) ||
(height_changed && MustInvalidateFillLayersPaintOnHeightChange(
Style()->BackgroundLayers())))
- SetShouldDoFullPaintInvalidation(kPaintInvalidationBoundsChange);
+ SetShouldDoFullPaintInvalidation(PaintInvalidationReason::kBackground);
}
}

Powered by Google App Engine
This is Rietveld 408576698