| 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 dca75263598982f9a1d834e20bf82a6b57245b00..166dc2da83b77fb27f7b736a68a7d0c2b2e14c78 100644
|
| --- a/chrome/browser/renderer_context_menu/spelling_menu_observer.cc
|
| +++ b/chrome/browser/renderer_context_menu/spelling_menu_observer.cc
|
| @@ -22,6 +22,7 @@
|
| #include "chrome/browser/ui/confirm_bubble.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/pref_names.h"
|
| +#include "chrome/common/spellcheck_common.h"
|
| #include "chrome/common/spellcheck_result.h"
|
| #include "chrome/grit/generated_resources.h"
|
| #include "content/public/browser/render_view_host.h"
|
| @@ -231,7 +232,8 @@ bool SpellingMenuObserver::IsCommandIdEnabled(int command_id) {
|
|
|
| case IDC_CONTENT_CONTEXT_SPELLING_TOGGLE:
|
| return integrate_spelling_service_.IsUserModifiable() &&
|
| - !profile->IsOffTheRecord();
|
| + !profile->IsOffTheRecord() &&
|
| + !chrome::spellcheck_common::IsMultilingualSpellcheckEnabled();
|
|
|
| case IDC_CONTENT_CONTEXT_AUTOCORRECT_SPELLING_TOGGLE:
|
| return integrate_spelling_service_.IsUserModifiable() &&
|
|
|