| Index: chrome/browser/ui/gtk/gtk_util.cc
|
| ===================================================================
|
| --- chrome/browser/ui/gtk/gtk_util.cc (revision 72331)
|
| +++ chrome/browser/ui/gtk/gtk_util.cc (working copy)
|
| @@ -965,8 +965,8 @@
|
| // Use autocomplete to clean up the text, going so far as to turn it into
|
| // a search query if necessary.
|
| AutocompleteMatch match;
|
| - profile->GetAutocompleteClassifier()->Classify(UTF8ToWide(selection_text),
|
| - std::wstring(), false, &match, NULL);
|
| + profile->GetAutocompleteClassifier()->Classify(UTF8ToUTF16(selection_text),
|
| + string16(), false, &match, NULL);
|
| g_free(selection_text);
|
| if (!match.destination_url.is_valid())
|
| return false;
|
|
|