summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-17 20:21:21 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-17 20:21:21 +0000
commit6d2de293a9dd1d3566f5ab4526c14094a90e3b4b (patch)
tree666bcd0d34fb1031a82721de9260155388a46df9 /chrome/browser/profile.cc
parentb4d6229d1b39a4ed065dbf1806af890519706109 (diff)
downloadchromium_src-6d2de293a9dd1d3566f5ab4526c14094a90e3b4b.zip
chromium_src-6d2de293a9dd1d3566f5ab4526c14094a90e3b4b.tar.gz
chromium_src-6d2de293a9dd1d3566f5ab4526c14094a90e3b4b.tar.bz2
Remove a hack that's no longer needed.
Review URL: http://codereview.chromium.org/79050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13963 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r--chrome/browser/profile.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index 37cb457..44f8c17 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -54,15 +54,8 @@ void Profile::RegisterUserPrefs(PrefService* prefs) {
prefs->RegisterBooleanPref(prefs::kSessionExitedCleanly, true);
prefs->RegisterBooleanPref(prefs::kSafeBrowsingEnabled, true);
// TODO(estade): IDS_SPELLCHECK_DICTIONARY should be an ASCII string.
-#if defined(OS_MACOSX)
- // MASSIVE HACK!!! We don't have localization working yet. Undo this once we
- // do. TODO(port): take this out
- prefs->RegisterStringPref(prefs::kSpellCheckDictionary,
- L"IDS_SPELLCHECK_DICTIONARY");
-#elif defined(OS_WIN) || defined(OS_LINUX)
prefs->RegisterLocalizedStringPref(prefs::kSpellCheckDictionary,
IDS_SPELLCHECK_DICTIONARY);
-#endif
prefs->RegisterBooleanPref(prefs::kEnableSpellCheck, true);
prefs->RegisterBooleanPref(prefs::kEnableUserScripts, false);
prefs->RegisterBooleanPref(prefs::kEnableExtensions, false);