| Index: chrome/browser/extensions/extension_history_api.cc
|
| diff --git a/chrome/browser/extensions/extension_history_api.cc b/chrome/browser/extensions/extension_history_api.cc
|
| index 6261a4bf36cd3e02d32844be3d35ac0898aefcbe..95d3acb4e3dd58e9029821047684fcd8e87acbb4 100644
|
| --- a/chrome/browser/extensions/extension_history_api.cc
|
| +++ b/chrome/browser/extensions/extension_history_api.cc
|
| @@ -248,8 +248,7 @@ bool SearchHistoryFunction::RunAsyncImpl() {
|
|
|
| // Initialize the HistoryQuery
|
| string16 search_text;
|
| - EXTENSION_FUNCTION_VALIDATE(json->GetStringAsUTF16(keys::kTextKey,
|
| - &search_text));
|
| + EXTENSION_FUNCTION_VALIDATE(json->GetString(keys::kTextKey, &search_text));
|
|
|
| history::QueryOptions options;
|
| options.SetRecentDayRange(1);
|
|
|