| Index: third_party/WebKit/Source/core/dom/ViewportDescription.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/ViewportDescription.cpp b/third_party/WebKit/Source/core/dom/ViewportDescription.cpp
|
| index 826d5d396151325b3fdcd4c18d48d287ba736eaf..85bcebf7883c43fa03038c5ccd5c4836b3c0ee1d 100644
|
| --- a/third_party/WebKit/Source/core/dom/ViewportDescription.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/ViewportDescription.cpp
|
| @@ -188,8 +188,9 @@ PageScaleConstraints ViewportDescription::resolve(
|
| !initialViewportSize.height())
|
| resultWidth = initialViewportSize.width();
|
| else
|
| - resultWidth = resultHeight * (initialViewportSize.width() /
|
| - initialViewportSize.height());
|
| + resultWidth =
|
| + resultHeight *
|
| + (initialViewportSize.width() / initialViewportSize.height());
|
| }
|
|
|
| // Resolve height value.
|
|
|