Index: chrome/browser/spellchecker/spellcheck_service.cc |
diff --git a/chrome/browser/spellchecker/spellcheck_service.cc b/chrome/browser/spellchecker/spellcheck_service.cc |
index 7360f061548efc9d4258c6ee0d3eac1bec9a3719..dfc4898bf0f392e060ef8cf83840562013fdd328 100644 |
--- a/chrome/browser/spellchecker/spellcheck_service.cc |
+++ b/chrome/browser/spellchecker/spellcheck_service.cc |
@@ -191,9 +191,9 @@ void SpellcheckService::InitForRenderer(content::RenderProcessHost* process) { |
bdict_languages.back().language = hunspell_dictionary->GetLanguage(); |
bdict_languages.back().file = |
hunspell_dictionary->GetDictionaryFile().IsValid() |
- ? IPC::GetFileHandleForProcess( |
+ ? IPC::GetPlatformFileForTransit( |
hunspell_dictionary->GetDictionaryFile().GetPlatformFile(), |
- process->GetHandle(), false) |
+ false) |
: IPC::InvalidPlatformFileForTransit(); |
} |