| Index: chrome/renderer/render_thread.cc
|
| ===================================================================
|
| --- chrome/renderer/render_thread.cc (revision 32085)
|
| +++ chrome/renderer/render_thread.cc (working copy)
|
| @@ -58,6 +58,7 @@
|
| #endif
|
| #include "chrome/renderer/user_script_slave.h"
|
| #include "ipc/ipc_message.h"
|
| +#include "ipc/ipc_platform_file.h"
|
| #include "third_party/tcmalloc/tcmalloc/src/google/malloc_extension.h"
|
| #include "third_party/WebKit/WebKit/chromium/public/WebCache.h"
|
| #include "third_party/WebKit/WebKit/chromium/public/WebColor.h"
|
| @@ -660,11 +661,12 @@
|
|
|
| #if defined(SPELLCHECKER_IN_RENDERER)
|
| void RenderThread::OnInitSpellChecker(
|
| - const base::FileDescriptor& bdict_fd,
|
| + IPC::PlatformFileForTransit bdict_file,
|
| const std::vector<std::string>& custom_words,
|
| const std::string& language,
|
| bool auto_spell_correct) {
|
| - spellchecker_->Init(bdict_fd, custom_words, language);
|
| + spellchecker_->Init(IPC::PlatformFileForTransitToPlatformFile(bdict_file),
|
| + custom_words, language);
|
| spellchecker_->EnableAutoSpellCorrect(auto_spell_correct);
|
| }
|
|
|
|
|