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

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

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/LayoutState.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutState.cpp b/third_party/WebKit/Source/core/layout/LayoutState.cpp
index 532fb8e657ca237585daec29988439a44b84155e..84546e6d804c7f1b2b96b02e85f7aa1ecb9af7d4 100644
--- a/third_party/WebKit/Source/core/layout/LayoutState.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutState.cpp
@@ -95,7 +95,7 @@ LayoutState::LayoutState(LayoutBox& layoutObject, const LayoutSize& offset, Layo
// writing mode roots.
if (layoutObject.paginationBreakability() == LayoutBox::ForbidBreaks) {
m_flowThread = nullptr;
- m_pageLogicalHeight = 0;
+ m_pageLogicalHeight = LayoutUnit();
m_isPaginated = false;
} else {
m_isPaginated = m_pageLogicalHeight || m_flowThread;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutSliderContainer.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698