Index: third_party/WebKit/Source/core/css/MediaValuesInitialViewportTest.cpp |
diff --git a/third_party/WebKit/Source/core/css/MediaValuesInitialViewportTest.cpp b/third_party/WebKit/Source/core/css/MediaValuesInitialViewportTest.cpp |
index bbef135aeedbb41162d00d5999bb0b72366a5442..5773a49e7a46cf9b2521d8648b517d631c551f1a 100644 |
--- a/third_party/WebKit/Source/core/css/MediaValuesInitialViewportTest.cpp |
+++ b/third_party/WebKit/Source/core/css/MediaValuesInitialViewportTest.cpp |
@@ -17,6 +17,7 @@ class MediaValuesInitialViewportTest : public ::testing::Test { |
private: |
void SetUp() override { |
m_dummyPageHolder = DummyPageHolder::create(IntSize(320, 480)); |
+ document().view()->setInitialViewportSize(IntSize(320, 480)); |
} |
std::unique_ptr<DummyPageHolder> m_dummyPageHolder; |