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

Unified Diff: third_party/WebKit/Source/core/layout/line/LineInfo.h

Issue 1647313003: Continue converting to explicit LayoutUnit constructors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@explicitContstructors
Patch Set: Add TODO 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/line/LineInfo.h
diff --git a/third_party/WebKit/Source/core/layout/line/LineInfo.h b/third_party/WebKit/Source/core/layout/line/LineInfo.h
index 7775e85fe4eb9909fe4b237bbeb1fd4c46878b4b..7487716fc2a99339c84a4b8022c3448b8204f4d4 100644
--- a/third_party/WebKit/Source/core/layout/line/LineInfo.h
+++ b/third_party/WebKit/Source/core/layout/line/LineInfo.h
@@ -38,7 +38,6 @@ public:
, m_isLastLine(false)
, m_isEmpty(true)
, m_previousLineBrokeCleanly(true)
- , m_floatPaginationStrut(0)
, m_runsFromLeadingWhitespace(0)
{ }
@@ -60,7 +59,7 @@ public:
m_isEmpty = empty;
if (!empty && block && floatPaginationStrut()) {
block.setLogicalHeight(block.logicalHeight() + floatPaginationStrut());
- setFloatPaginationStrut(0);
+ setFloatPaginationStrut(LayoutUnit());
lineWidth->updateAvailableWidth();
}
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/InlineBox.cpp ('k') | third_party/WebKit/Source/core/layout/line/LineLayoutState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698