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

Unified Diff: chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc

Issue 209193002: Remove PlatformFile from spell checker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert IsEnabled behavior Created 6 years, 9 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/renderer/spellchecker/cocoa_spelling_engine_mac.cc
diff --git a/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc b/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc
index ca14fab220e8f52b1f1a7cfc27b2165e98be2e00..b71e652ebe29d63a1db835eb036942a9ba102347 100644
--- a/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc
+++ b/chrome/renderer/spellchecker/cocoa_spelling_engine_mac.cc
@@ -13,8 +13,8 @@ SpellingEngine* CreateNativeSpellingEngine() {
return new CocoaSpellingEngine();
}
-void CocoaSpellingEngine::Init(base::PlatformFile bdict_file) {
- DCHECK(bdict_file == base::kInvalidPlatformFileValue);
+void CocoaSpellingEngine::Init(base::File bdict_file) {
+ DCHECK(!bdict_file.IsValid());
}
bool CocoaSpellingEngine::InitializeIfNeeded() {
« no previous file with comments | « chrome/renderer/spellchecker/cocoa_spelling_engine_mac.h ('k') | chrome/renderer/spellchecker/hunspell_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698