summaryrefslogtreecommitdiffstats
path: root/chrome/browser/spellchecker_mac.mm
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-17 20:44:13 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-17 20:44:13 +0000
commit5dbabd0a427685ed217e3add51fb617876f28a8f (patch)
treecc7bbbe0d335877edf813df9c7e3b7793231df26 /chrome/browser/spellchecker_mac.mm
parenta05d223dccc3f04067f0a12f8b6b8f60a4dd8290 (diff)
downloadchromium_src-5dbabd0a427685ed217e3add51fb617876f28a8f.zip
chromium_src-5dbabd0a427685ed217e3add51fb617876f28a8f.tar.gz
chromium_src-5dbabd0a427685ed217e3add51fb617876f28a8f.tar.bz2
Use NSApp in preference to [NSApplication sharedApplicaton]
BUG=0 TEST={} Review URL: http://codereview.chromium.org/207001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26480 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/spellchecker_mac.mm')
-rw-r--r--chrome/browser/spellchecker_mac.mm3
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/browser/spellchecker_mac.mm b/chrome/browser/spellchecker_mac.mm
index 4fe6458..0a4d52e 100644
--- a/chrome/browser/spellchecker_mac.mm
+++ b/chrome/browser/spellchecker_mac.mm
@@ -120,9 +120,6 @@ void UpdateSpellingPanelWithMisspelledWord(const std::wstring& word) {
}
void Init() {
- // This call must be made before the call to
- // [NSSpellchecker sharedSpellChecker] or it will return nil.
- [NSApplication sharedApplication];
}
bool PlatformSupportsLanguage(const std::string& current_language) {