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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.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/paint/PaintLayer.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index 01825db216bfcbc45fe7b06d16d95043328839c5..db7b388e7e7f9f92f257c96daababcdb9f0a0196 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -622,11 +622,11 @@ void PaintLayer::mapRectToPaintInvalidationBacking(
return;
}
- // This code adjusts the paint invalidation rectangle to be in the space of
- // the transformed ancestor of the grouped (i.e. squashed) layer. This is
- // because all layers that squash together need to issue paint invalidations
- // w.r.t. a single container that is an ancestor of all of them, in order to
- // properly take into account any local transforms etc.
+ // This code adjusts the visual rect to be in the space of the transformed
+ // ancestor of the grouped (i.e. squashed) layer. This is because all layers
+ // that squash together need to issue paint invalidations w.r.t. a single
+ // container that is an ancestor of all of them, in order to properly take
+ // into account any local transforms etc.
// FIXME: remove this special-case code that works around the paint
// invalidation code structure.
layoutObject.mapToVisualRectInAncestorSpace(&paintInvalidationContainer,

Powered by Google App Engine
This is Rietveld 408576698