| Index: services/prediction/dictionary_service.cc
|
| diff --git a/services/prediction/dictionary_service.cc b/services/prediction/dictionary_service.cc
|
| index a771b394c5c9f662395351b7ef15d90e1d028b09..e9fbc86cb233de013d423d88f8aaf06e7a8cbf6a 100644
|
| --- a/services/prediction/dictionary_service.cc
|
| +++ b/services/prediction/dictionary_service.cc
|
| @@ -78,7 +78,7 @@ mojo::Array<mojo::String> DictionaryService::GetDictionarySuggestion(
|
| default_dictionary_ = scoped_ptr<latinime::Dictionary>(
|
| OpenDictionary(path, 0, prediction::kDictFile.size, false));
|
| if (!default_dictionary_) {
|
| - return suggestion_words.Clone().Pass();
|
| + return suggestion_words;
|
| }
|
| }
|
|
|
| @@ -166,7 +166,7 @@ mojo::Array<mojo::String> DictionaryService::GetDictionarySuggestion(
|
| suggestion_words.push_back(mojo::String(*it));
|
| }
|
|
|
| - return suggestion_words.Clone().Pass();
|
| + return suggestion_words;
|
| }
|
|
|
| // modified from Android JniDataUtils::constructPrevWordsInfo
|
|
|