| Index: third_party/WebKit/Source/core/layout/LayoutFileUploadControl.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutFileUploadControl.cpp b/third_party/WebKit/Source/core/layout/LayoutFileUploadControl.cpp
|
| index a3ef44c99b0ee0d1c73684a82dffdc501a88984d..eeb53e2c4bb2f6be887ec5c3f7b99d3d2e63ae6f 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutFileUploadControl.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutFileUploadControl.cpp
|
| @@ -114,7 +114,7 @@ void LayoutFileUploadControl::computePreferredLogicalWidths()
|
| const ComputedStyle& styleToUse = styleRef();
|
|
|
| if (styleToUse.width().isFixed() && styleToUse.width().value() > 0)
|
| - m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse.width().value());
|
| + m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(LayoutUnit(styleToUse.width().value()));
|
| else
|
| computeIntrinsicLogicalWidths(m_minPreferredLogicalWidth, m_maxPreferredLogicalWidth);
|
|
|
|
|