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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableSection.h

Issue 1656743002: Removing more implicit LayoutUnit construction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/LayoutTableSection.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.h b/third_party/WebKit/Source/core/layout/LayoutTableSection.h
index 1fc8a2a3e797418d9535d25cff3c5d2b82ef7e8a..fb4290f5deda92b4d103fc9b9f2d698802ff9c6b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.h
@@ -182,7 +182,7 @@ public:
Row row;
LayoutTableRow* rowLayoutObject;
- LayoutUnit baseline;
+ int baseline;
Length logicalHeight;
};
@@ -274,7 +274,7 @@ public:
bool needsCellRecalc() const { return m_needsCellRecalc; }
void setNeedsCellRecalc();
- LayoutUnit rowBaseline(unsigned row) { return m_grid[row].baseline; }
+ int rowBaseline(unsigned row) { return m_grid[row].baseline; }
void rowLogicalHeightChanged(LayoutTableRow*);
@@ -341,7 +341,7 @@ private:
void distributeExtraLogicalHeightToAutoRows(int& extraLogicalHeight, unsigned autoRowsCount);
void distributeRemainingExtraLogicalHeight(int& extraLogicalHeight);
- void updateBaselineForCell(LayoutTableCell*, unsigned row, LayoutUnit& baselineDescent);
+ void updateBaselineForCell(LayoutTableCell*, unsigned row, int& baselineDescent);
bool hasOverflowingCell() const { return m_overflowingCells.size() || m_forceSlowPaintPathWithOverflowingCell; }

Powered by Google App Engine
This is Rietveld 408576698