Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3289)

Unified Diff: chrome/browser/renderer_context_menu/spelling_options_submenu_observer_browsertest.cc

Issue 2254533003: Rename spellcheck::pref::kEnableContinuousSpellcheck to ...::kEnableSpellcheck (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_context_menu/spelling_options_submenu_observer_browsertest.cc
diff --git a/chrome/browser/renderer_context_menu/spelling_options_submenu_observer_browsertest.cc b/chrome/browser/renderer_context_menu/spelling_options_submenu_observer_browsertest.cc
index 39c7696d6007988d0e6ecb37824561a5c8265b6e..2419010eb2257b6d51f915e35d5423453cd1235e 100644
--- a/chrome/browser/renderer_context_menu/spelling_options_submenu_observer_browsertest.cc
+++ b/chrome/browser/renderer_context_menu/spelling_options_submenu_observer_browsertest.cc
@@ -44,7 +44,7 @@ class SpellingOptionsSubMenuObserverTest : public InProcessBrowserTest {
const std::string& accept_languages,
const std::vector<std::string>& dictionaries) {
menu()->GetPrefs()->SetBoolean(
- spellcheck::prefs::kEnableContinuousSpellcheck, enable_spellcheck);
+ spellcheck::prefs::kEnableSpellcheck, enable_spellcheck);
menu()->GetPrefs()->SetString(prefs::kAcceptLanguages, accept_languages);
base::ListValue dictionaries_value;
dictionaries_value.AppendStrings(dictionaries);
@@ -57,7 +57,7 @@ class SpellingOptionsSubMenuObserverTest : public InProcessBrowserTest {
const std::vector<std::string>& dictionaries) {
EXPECT_EQ(spellcheck_enabled,
menu()->GetPrefs()->GetBoolean(
- spellcheck::prefs::kEnableContinuousSpellcheck));
+ spellcheck::prefs::kEnableSpellcheck));
base::ListValue dictionaries_value;
dictionaries_value.AppendStrings(dictionaries);
EXPECT_TRUE(dictionaries_value.Equals(menu()->GetPrefs()->GetList(

Powered by Google App Engine
This is Rietveld 408576698