| Index: chrome/browser/tab_contents/spelling_menu_observer_browsertest.cc
|
| diff --git a/chrome/browser/tab_contents/spelling_menu_observer_browsertest.cc b/chrome/browser/tab_contents/spelling_menu_observer_browsertest.cc
|
| index 2d8c5e78581c65030fcaacbb748c2d6926944ac2..c7969281c149ed976c6e992f1d9cec8aa0a4b556 100644
|
| --- a/chrome/browser/tab_contents/spelling_menu_observer_browsertest.cc
|
| +++ b/chrome/browser/tab_contents/spelling_menu_observer_browsertest.cc
|
| @@ -327,6 +327,8 @@ IN_PROC_BROWSER_TEST_F(SpellingMenuObserverTest, SeparatorAfterSuggestions) {
|
| new SpellingMenuObserver(menu.get()));
|
| menu->SetObserver(observer.get());
|
| menu->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true);
|
| + CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| + command_line->AppendSwitch(switches::kUseSpellingSuggestions);
|
|
|
| // Make sure we can pretend to handle the JSON request.
|
| menu->CreateRequestContext();
|
| @@ -372,8 +374,6 @@ IN_PROC_BROWSER_TEST_F(SpellingMenuObserverTest,
|
| new SpellingMenuObserver(menu.get()));
|
| menu->SetObserver(observer.get());
|
| menu->GetPrefs()->SetBoolean(prefs::kSpellCheckUseSpellingService, true);
|
| - CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| - command_line->AppendSwitch(switches::kUseSpellingService);
|
|
|
| // Make sure we can pretend to handle the JSON request.
|
| menu->CreateRequestContext();
|
|
|