Chromium Code Reviews| Index: Source/web/tests/WebFrameTest.cpp |
| diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp |
| index 8af1fe988d2245be803c9a5efbca7050520f629b..cec7a66cf54a91eef1f291073e03ad2997cbf872 100644 |
| --- a/Source/web/tests/WebFrameTest.cpp |
| +++ b/Source/web/tests/WebFrameTest.cpp |
| @@ -371,7 +371,8 @@ 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 = arguments.maxWidth = WebCore::Length(100, WebCore::Fixed); |
|
abarth-chromium
2013/09/05 05:53:22
Normally we would put each assignment on its own l
rune
2013/09/05 07:05:52
Done.
|
| webViewImpl()->updatePageDefinedPageScaleConstraints(arguments); |
| bool multiplierCheckedAtLeastOnce = false; |