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 d2aee22f5a546bdf7fff77efdfad2de233a402df..31662a871c5c7e3db9d0321fc6eaefa6431ff555 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. |