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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutFieldset.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/LayoutFieldset.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp b/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp
index fa14c3f7fbe9a6e6c102202316092b4d98dbdd70..1af7515adb104d99aa17dda22498d3289939bd56 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutFieldset.cpp
@@ -101,7 +101,7 @@ LayoutObject* LayoutFieldset::layoutSpecialExcludedChild(bool relayoutChildren,
setLogicalLeftForChild(*legend, logicalLeft);
- LayoutUnit fieldsetBorderBefore = borderBefore();
+ LayoutUnit fieldsetBorderBefore = LayoutUnit(borderBefore());
LayoutUnit legendLogicalHeight = logicalHeightForChild(*legend);
LayoutUnit legendLogicalTop;

Powered by Google App Engine
This is Rietveld 408576698