| 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 724247a888fe15127ec8d9bc1eaddfa4eab16211..4d02fdcc241a66d7c27e1e9b9275ba8c12395167 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutFileUploadControl.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutFileUploadControl.cpp
|
| @@ -98,7 +98,7 @@ void LayoutFileUploadControl::computeIntrinsicLogicalWidths(LayoutUnit& minLogic
|
| }
|
| maxLogicalWidth = LayoutUnit(ceilf(std::max(minDefaultLabelWidth, defaultLabelWidth)));
|
|
|
| - if (!style()->width().hasPercent())
|
| + if (!style()->width().isPercentOrCalc())
|
| minLogicalWidth = maxLogicalWidth;
|
| }
|
|
|
|
|