Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
index da892f9cf4fb0e3017ee2170a17456c567be7e4f..3787fb643e0c5e3b8677c1250ee7f3d8058ade91 100644 |
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
@@ -2711,6 +2711,14 @@ TEST_P(ParameterizedWebFrameTest, AtViewportInsideAtMediaInitialViewport) { |
->frameView() |
->layoutSize() |
.width()); |
+ |
+ webViewHelper.resize(WebSize(1200, 480)); |
+ |
+ EXPECT_EQ(1200, webViewHelper.webView() |
+ ->mainFrameImpl() |
+ ->frameView() |
+ ->layoutSize() |
+ .width()); |
} |
TEST_P(ParameterizedWebFrameTest, AtViewportAffectingAtMediaRecalcCount) { |