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

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

Issue 2465983002: Rename "paint invalidation rect" etc. to "visual rect". (Closed)
Patch Set: - Created 4 years, 1 month 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/LayoutBoxModelObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
index da20d91b76b7e75db4c976ee0328591e22c9591f..0d07b008fa00024dadfa534d5ffdd185eeed2c8b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
@@ -498,8 +498,7 @@ void LayoutBoxModelObject::invalidateTreeIfNeeded(
newPaintInvalidationState
.setForceSubtreeInvalidationCheckingWithinContainer();
- LayoutRect previousPaintInvalidationRect =
- this->previousPaintInvalidationRect();
+ LayoutRect previousVisualRect = this->previousVisualRect();
LayoutPoint previousPosition = previousPositionFromPaintInvalidationBacking();
PaintInvalidationReason reason =
invalidatePaintIfNeeded(newPaintInvalidationState);
@@ -522,7 +521,7 @@ void LayoutBoxModelObject::invalidateTreeIfNeeded(
// enough saved information to do accurate check of clipping change. Will
// remove when we remove rect-based paint invalidation.
if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled() &&
- previousPaintInvalidationRect != this->previousPaintInvalidationRect() &&
+ previousVisualRect != this->previousVisualRect() &&
!usesCompositedScrolling()
// Note that isLayoutView() below becomes unnecessary after the launch of
// root layer scrolling.
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutInline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698