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

Unified Diff: chrome/browser/spellchecker/spellcheck_service.cc

Issue 1858973002: ipc: Rename GetFileHandleForProcess->GetPlatformFileForTransit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp16_ipc_pfft_implementation
Patch Set: Comments from tsepez. Created 4 years, 8 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/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();
}

Powered by Google App Engine
This is Rietveld 408576698