Index: chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc |
diff --git a/chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc b/chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc |
index 953590c2fd05e7c197076eb09ddb683fde8e4c57..46d1c98d8419a56d8f1ab032d01fab004be8bf7e 100644 |
--- a/chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc |
+++ b/chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc |
@@ -157,10 +157,10 @@ IN_PROC_BROWSER_TEST_F(StickyKeysBrowserTest, SearchLeftOmnibox) { |
browser()->window()->GetLocationBar()->GetOmniboxView(); |
// Give the omnibox focus. |
- omnibox->ShowURL(); |
+ omnibox->SetFocus(); |
- // Make sure that the AppList is not erronously displayed and the omnibox |
- // doesn't lost focus |
+ // Make sure that the AppList is not erroneously displayed and the omnibox |
+ // doesn't lose focus. |
EXPECT_FALSE(ash::WmShell::Get()->GetAppListTargetVisibility()); |
EXPECT_TRUE(omnibox->GetNativeView()->HasFocus()); |