diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-17 20:44:13 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-17 20:44:13 +0000 |
commit | 5dbabd0a427685ed217e3add51fb617876f28a8f (patch) | |
tree | cc7bbbe0d335877edf813df9c7e3b7793231df26 /chrome/browser/spellchecker_mac.mm | |
parent | a05d223dccc3f04067f0a12f8b6b8f60a4dd8290 (diff) | |
download | chromium_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.mm | 3 |
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) { |