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

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

Issue 1651703002: More explicit LayoutUnit conversions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@evenMoarConstructors
Patch Set: Traits vs Properties vs Pandas Created 4 years, 11 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/LayoutTableRow.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
index 0a133677416ef06d2b951ddea4e42ca56eec54e9..3280fa909128c24ec28b6051ea503d7f296c3507 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
@@ -250,7 +250,7 @@ void LayoutTableRow::addOverflowFromCell(const LayoutTableCell* cell)
// the visual overflow should be determined in the coordinate system of
// the row, that's why we shift it below.
LayoutUnit cellOffsetLogicalTopDifference = cell->location().y() - location().y();
- cellVisualOverflowRect.move(0, cellOffsetLogicalTopDifference);
+ cellVisualOverflowRect.move(LayoutUnit(), cellOffsetLogicalTopDifference);
addVisualOverflow(cellVisualOverflowRect);
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTable.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTableSection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698