Index: chrome/browser/ui/app_list/app_list_controller_browsertest.cc |
diff --git a/chrome/browser/ui/app_list/app_list_controller_browsertest.cc b/chrome/browser/ui/app_list/app_list_controller_browsertest.cc |
index dc5e9df7f699ad6c07e8f593e96c9b910d8e8a0a..e47d90be33f280c905fd10260579081d50a8c16d 100644 |
--- a/chrome/browser/ui/app_list/app_list_controller_browsertest.cc |
+++ b/chrome/browser/ui/app_list/app_list_controller_browsertest.cc |
@@ -205,6 +205,9 @@ IN_PROC_BROWSER_TEST_F(AppListControllerSearchResultsBrowserTest, |
// Now uninstall and ensure this browser test observes it. |
UninstallExtension(extension->id()); |
+ // Allow async AppSearchProvider::UpdateResults to run. |
+ base::RunLoop().RunUntilIdle(); |
+ |
EXPECT_FALSE(observed_result_); |
StopWatchingResults(); |
service->DismissAppList(); |