| Index: Source/web/tests/WebFrameTest.cpp
|
| diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
|
| index 8af1fe988d2245be803c9a5efbca7050520f629b..bae3cc9b1416685e1864e12981784ed8eeabcd1a 100644
|
| --- a/Source/web/tests/WebFrameTest.cpp
|
| +++ b/Source/web/tests/WebFrameTest.cpp
|
| @@ -371,7 +371,9 @@ TEST_F(WebFrameTest, ChangeInFixedLayoutTriggersTextAutosizingRecalculate)
|
| EXPECT_TRUE(multiplierSetAtLeastOnce);
|
|
|
| WebCore::ViewportArguments arguments = document->viewportArguments();
|
| - arguments.width += 10;
|
| + // Choose a width that's not going match the viewport width of the loaded document.
|
| + arguments.minWidth = WebCore::Length(100, WebCore::Fixed);
|
| + arguments.maxWidth = WebCore::Length(100, WebCore::Fixed);
|
| webViewImpl()->updatePageDefinedPageScaleConstraints(arguments);
|
|
|
| bool multiplierCheckedAtLeastOnce = false;
|
|
|