Index: third_party/WebKit/Source/web/tests/VisualViewportTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp |
index 8dff34918e0290990363a0997a55cd6d60c9d125..51a58f613994f05ba2b34cc30d48fdbe8e5c44da 100644 |
--- a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp |
@@ -2375,6 +2375,8 @@ TEST_P(VisualViewportTest, ResizeNonFixedBackgroundNoLayoutOrInvalidation) { |
isSubtree); |
EXPECT_EQ(0u, needsLayoutObjects); |
+ webViewImpl->updateAllLifecyclePhases(); |
+ |
// Do a real resize to check for invalidations. |
document->view()->setTracksPaintInvalidations(true); |
webViewImpl->resizeWithBrowserControls(WebSize(pageWidth, smallestHeight), |