summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_omnibox_apitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_omnibox_apitest.cc')
-rw-r--r--chrome/browser/extensions/extension_omnibox_apitest.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_omnibox_apitest.cc b/chrome/browser/extensions/extension_omnibox_apitest.cc
index 08d13f1..0537c7a 100644
--- a/chrome/browser/extensions/extension_omnibox_apitest.cc
+++ b/chrome/browser/extensions/extension_omnibox_apitest.cc
@@ -75,8 +75,9 @@ class OmniboxApiTest : public ExtensionApiTest {
void WaitForAutocompleteDone(AutocompleteController* controller) {
while (!controller->done()) {
- ui_test_utils::WaitForNotification(
- chrome::NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY);
+ ui_test_utils::WaitForNotificationFrom(
+ chrome::NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY,
+ Source<AutocompleteController>(controller));
}
}
};