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 26d508ee564501d5b14eaf35506be95f50cdaea7..3c40abf5eeac55fe8ef80d156e2a7f0e6e264c6e 100644 |
--- a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp |
@@ -2374,6 +2374,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), |