| Index: third_party/WebKit/Source/core/html/forms/ImageInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/ImageInputType.cpp b/third_party/WebKit/Source/core/html/forms/ImageInputType.cpp
|
| index e547394068dc15306c726392007ece4e3a63affd..a6d333a2be8c2166e8ea0a0a15ea8db8b46a91a7 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/ImageInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/ImageInputType.cpp
|
| @@ -200,7 +200,7 @@ unsigned ImageInputType::height() const
|
| return imageLoader->image()->imageSize(LayoutObject::shouldRespectImageOrientation(nullptr), 1).height();
|
| }
|
|
|
| - element().document().updateLayout();
|
| + element().document().updateStyleAndLayout();
|
|
|
| LayoutBox* box = element().layoutBox();
|
| return box ? adjustForAbsoluteZoom(box->contentHeight(), box) : 0;
|
| @@ -220,7 +220,7 @@ unsigned ImageInputType::width() const
|
| return imageLoader->image()->imageSize(LayoutObject::shouldRespectImageOrientation(nullptr), 1).width();
|
| }
|
|
|
| - element().document().updateLayout();
|
| + element().document().updateStyleAndLayout();
|
|
|
| LayoutBox* box = element().layoutBox();
|
| return box ? adjustForAbsoluteZoom(box->contentWidth(), box) : 0;
|
|
|