Index: chrome/renderer/spellchecker/spellcheck_language.cc |
diff --git a/chrome/renderer/spellchecker/spellcheck_language.cc b/chrome/renderer/spellchecker/spellcheck_language.cc |
index e9d101509e85af921f86cd33300e0c2dd0eb9bf0..c7ad42df1d734bc445b0349fdcc4e9bf6f3db9bd 100644 |
--- a/chrome/renderer/spellchecker/spellcheck_language.cc |
+++ b/chrome/renderer/spellchecker/spellcheck_language.cc |
@@ -16,11 +16,9 @@ SpellcheckLanguage::SpellcheckLanguage() |
SpellcheckLanguage::~SpellcheckLanguage() { |
} |
-void SpellcheckLanguage::Init( |
- base::PlatformFile file, |
- const std::string& language) { |
+void SpellcheckLanguage::Init(base::File file, const std::string& language) { |
DCHECK(platform_spelling_engine_.get()); |
- platform_spelling_engine_->Init(file); |
+ platform_spelling_engine_->Init(file.Pass()); |
character_attributes_.SetDefaultLanguage(language); |
text_iterator_.Reset(); |