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

Unified Diff: third_party/WebKit/Source/core/layout/line/LineWidth.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/LineWidth.h
diff --git a/third_party/WebKit/Source/core/layout/line/LineWidth.h b/third_party/WebKit/Source/core/layout/line/LineWidth.h
index eaa9952a14e724274e108ad98d2ebd380474bf8d..2c9ccb836c883eb9b62a276476c07a40a90fd984 100644
--- a/third_party/WebKit/Source/core/layout/line/LineWidth.h
+++ b/third_party/WebKit/Source/core/layout/line/LineWidth.h
@@ -64,7 +64,7 @@ public:
float availableWidth() const { return m_availableWidth; }
float trailingWhitespaceWidth() const { return m_trailingWhitespaceWidth; }
- void updateAvailableWidth(LayoutUnit minimumHeight = 0);
+ void updateAvailableWidth(LayoutUnit minimumHeight = LayoutUnit());
void shrinkAvailableWidthForNewFloatIfNeeded(const FloatingObject&);
void addUncommittedWidth(float delta) { m_uncommittedWidth += delta; }
void commit();

Powered by Google App Engine
This is Rietveld 408576698