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() { |