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

Unified Diff: third_party/WebKit/Source/core/paint/TableSectionPainter.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/TableSectionPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
index 829be97b402c4b56cad3cda5d6dddcfdaff03802..a4816c0cf43baf90b54ddd0fda013b522fd14785 100644
--- a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
@@ -165,13 +165,12 @@ void TableSectionPainter::paintCollapsedSectionBorders(
BoxClipper boxClipper(m_layoutTableSection, paintInfo, adjustedPaintOffset,
ForceContentsClip);
- LayoutRect localPaintInvalidationRect =
- LayoutRect(paintInfo.cullRect().m_rect);
- localPaintInvalidationRect.moveBy(-adjustedPaintOffset);
+ LayoutRect localVisualRect = LayoutRect(paintInfo.cullRect().m_rect);
+ localVisualRect.moveBy(-adjustedPaintOffset);
LayoutRect tableAlignedRect =
m_layoutTableSection.logicalRectForWritingModeAndDirection(
- localPaintInvalidationRect);
+ localVisualRect);
CellSpan dirtiedRows = m_layoutTableSection.dirtiedRows(tableAlignedRect);
CellSpan dirtiedColumns =
@@ -204,13 +203,12 @@ void TableSectionPainter::paintCollapsedSectionBorders(
void TableSectionPainter::paintObject(const PaintInfo& paintInfo,
const LayoutPoint& paintOffset) {
- LayoutRect localPaintInvalidationRect =
- LayoutRect(paintInfo.cullRect().m_rect);
- localPaintInvalidationRect.moveBy(-paintOffset);
+ LayoutRect localVisualRect = LayoutRect(paintInfo.cullRect().m_rect);
+ localVisualRect.moveBy(-paintOffset);
LayoutRect tableAlignedRect =
m_layoutTableSection.logicalRectForWritingModeAndDirection(
- localPaintInvalidationRect);
+ localVisualRect);
CellSpan dirtiedRows = m_layoutTableSection.dirtiedRows(tableAlignedRect);
CellSpan dirtiedColumns =
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGShapePainter.cpp ('k') | third_party/WebKit/Source/core/style/SVGComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698