Index: content/browser/web_contents/web_contents_impl_unittest.cc |
diff --git a/content/browser/web_contents/web_contents_impl_unittest.cc b/content/browser/web_contents/web_contents_impl_unittest.cc |
index bd092ddf53310a7b9c44ecbd81c0ebc19430f28a..22b0c80316ec81d0233a29ccffe853348d10fc82 100644 |
--- a/content/browser/web_contents/web_contents_impl_unittest.cc |
+++ b/content/browser/web_contents/web_contents_impl_unittest.cc |
@@ -827,6 +827,7 @@ TEST_F(WebContentsImplTest, NavigateFromSitelessUrl) { |
DeleteContents(); |
EXPECT_EQ(orig_rvh_delete_count, 1); |
EXPECT_EQ(pending_rvh_delete_count, 1); |
+ base::RunLoop().RunUntilIdle(); |
} |
// Regression test for http://crbug.com/386542 - variation of |
@@ -874,6 +875,7 @@ TEST_F(WebContentsImplTest, NavigateFromRestoredSitelessUrl) { |
// Cleanup. |
DeleteContents(); |
+ base::RunLoop().RunUntilIdle(); |
} |
// Complement for NavigateFromRestoredSitelessUrl, verifying that when a regular |
@@ -919,6 +921,7 @@ TEST_F(WebContentsImplTest, NavigateFromRestoredRegularUrl) { |
// Cleanup. |
DeleteContents(); |
+ base::RunLoop().RunUntilIdle(); |
} |
// Test that we can find an opener RVH even if it's pending. |