| Index: chrome/browser/autocomplete/autocomplete_edit_view_browsertest.cc
|
| diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_browsertest.cc b/chrome/browser/autocomplete/autocomplete_edit_view_browsertest.cc
|
| index 6452f2f8709aacf726d66bc05d09ff5ed440cfae..77712757d119ba6ef1f59c7a844dea271387464e 100644
|
| --- a/chrome/browser/autocomplete/autocomplete_edit_view_browsertest.cc
|
| +++ b/chrome/browser/autocomplete/autocomplete_edit_view_browsertest.cc
|
| @@ -125,10 +125,9 @@ class AutocompleteEditViewTest : public InProcessBrowserTest,
|
| void SendKey(base::KeyboardCode key, bool control, bool shift, bool alt) {
|
| gfx::NativeWindow window = NULL;
|
| ASSERT_NO_FATAL_FAILURE(GetNativeWindow(&window));
|
| - ui_controls::SendKeyPressNotifyWhenDone(window, key, control, shift, alt,
|
| - false /* command */,
|
| - new MessageLoop::QuitTask());
|
| - ui_test_utils::RunMessageLoop();
|
| + ASSERT_TRUE(
|
| + ui_test_utils::SendKeyPressSync(
|
| + window, key, control, shift, alt, false /* command */));
|
| }
|
|
|
| void SendKeySequence(const wchar_t* keys) {
|
|
|