| Index: chrome/browser/renderer_context_menu/spelling_menu_observer.cc
|
| diff --git a/chrome/browser/renderer_context_menu/spelling_menu_observer.cc b/chrome/browser/renderer_context_menu/spelling_menu_observer.cc
|
| index 16ee4e76a2fd9f938291c9e4e7e3ad80c6312657..dff5965cfc0631accc59229cc1f6757f7dae63ae 100644
|
| --- a/chrome/browser/renderer_context_menu/spelling_menu_observer.cc
|
| +++ b/chrome/browser/renderer_context_menu/spelling_menu_observer.cc
|
| @@ -165,16 +165,8 @@ void SpellingMenuObserver::InitMenu(const content::ContextMenuParams& params) {
|
| proxy_->AddMenuItem(IDC_SPELLCHECK_ADD_TO_DICTIONARY,
|
| l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_ADD_TO_DICTIONARY));
|
|
|
| -#if defined(TOOLKIT_GTK)
|
| - extensions::ViewType view_type =
|
| - extensions::GetViewType(proxy_->GetWebContents());
|
| - if (view_type != extensions::VIEW_TYPE_PANEL) {
|
| -#endif
|
| - proxy_->AddCheckItem(IDC_CONTENT_CONTEXT_SPELLING_TOGGLE,
|
| - l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_SPELLING_ASK_GOOGLE));
|
| -#if defined(TOOLKIT_GTK)
|
| - }
|
| -#endif
|
| + proxy_->AddCheckItem(IDC_CONTENT_CONTEXT_SPELLING_TOGGLE,
|
| + l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_SPELLING_ASK_GOOGLE));
|
|
|
| const CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| if (command_line->HasSwitch(switches::kEnableSpellingAutoCorrect)) {
|
|
|