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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableCell.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/LayoutTableCell.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
index 48aa589b5862e815fa464165e8e671569ecacc45..2b7aabc4b2b78fe4d388c6698f6f7148cacbb3f9 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
@@ -400,14 +400,14 @@ LayoutSize LayoutTableCell::offsetFromContainer(const LayoutObject* o) const {
return offset;
}
-LayoutRect LayoutTableCell::localOverflowRectForPaintInvalidation() const {
+LayoutRect LayoutTableCell::localVisualRect() const {
// If the table grid is dirty, we cannot get reliable information about
// adjoining cells, so we ignore outside borders. This should not be a problem
// because it means that the table is going to recalculate the grid, relayout
// and issue a paint invalidation of its current rect, which includes any
// outside borders of this cell.
if (!table()->collapseBorders() || table()->needsSectionRecalc())
- return LayoutBlockFlow::localOverflowRectForPaintInvalidation();
+ return LayoutBlockFlow::localVisualRect();
bool rtl = !styleForCellFlow().isLeftToRightDirection();
int outlineOutset = style()->outlineOutsetExtent();
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableCell.h ('k') | third_party/WebKit/Source/core/layout/LayoutTableCellTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698