Index: ui/app_list/search/dictionary_data_store.cc |
diff --git a/ui/app_list/search/dictionary_data_store.cc b/ui/app_list/search/dictionary_data_store.cc |
index b867be4d743468fb2de5ccb81fc96dbcaf25e8c6..45f53ca6edb58101530b4cc03cf1e5416218c06c 100644 |
--- a/ui/app_list/search/dictionary_data_store.cc |
+++ b/ui/app_list/search/dictionary_data_store.cc |
@@ -64,12 +64,12 @@ void DictionaryDataStore::ScheduleWrite() { |
scoped_ptr<base::DictionaryValue> DictionaryDataStore::LoadOnBlockingPool() { |
DCHECK(worker_pool_->RunsTasksOnCurrentThread()); |
- int error_code = JSONFileValueSerializer::JSON_NO_ERROR; |
+ int error_code = JSONFileValueDeserializer::JSON_NO_ERROR; |
std::string error_message; |
- JSONFileValueSerializer serializer(data_file_); |
- base::Value* value = serializer.Deserialize(&error_code, &error_message); |
+ JSONFileValueDeserializer deserializer(data_file_); |
+ base::Value* value = deserializer.Deserialize(&error_code, &error_message); |
base::DictionaryValue* dict_value = NULL; |
- if (error_code != JSONFileValueSerializer::JSON_NO_ERROR || !value || |
+ if (error_code != JSONFileValueDeserializer::JSON_NO_ERROR || !value || |
!value->GetAsDictionary(&dict_value) || !dict_value) { |
return nullptr; |
} |