| Index: third_party/WebKit/Source/core/frame/PageScaleConstraints.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/PageScaleConstraints.cpp b/third_party/WebKit/Source/core/frame/PageScaleConstraints.cpp
|
| index 563265425618c79fd7cd3fe92aaa2ac57e97bdb5..8494f7d9bfacc9e5f498e978f81ab598c0509c58 100644
|
| --- a/third_party/WebKit/Source/core/frame/PageScaleConstraints.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/PageScaleConstraints.cpp
|
| @@ -58,8 +58,6 @@ void PageScaleConstraints::overrideWith(const PageScaleConstraints& other)
|
|
|
| float PageScaleConstraints::clampToConstraints(float pageScaleFactor) const
|
| {
|
| - if (pageScaleFactor == -1)
|
| - return pageScaleFactor;
|
| if (minimumScale != -1)
|
| pageScaleFactor = std::max(pageScaleFactor, minimumScale);
|
| if (maximumScale != -1)
|
|
|