| Index: chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm
|
| ===================================================================
|
| --- chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm (revision 72138)
|
| +++ chrome/browser/ui/cocoa/toolbar/toolbar_controller.mm (working copy)
|
| @@ -787,8 +787,7 @@
|
| // If the input is plain text, classify the input and make the URL.
|
| AutocompleteMatch match;
|
| browser_->profile()->GetAutocompleteClassifier()->Classify(
|
| - base::SysNSStringToWide(text),
|
| - std::wstring(), false, &match, NULL);
|
| + base::SysNSStringToUTF16(text), string16(), false, &match, NULL);
|
| GURL url(match.destination_url);
|
|
|
| browser_->GetSelectedTabContents()->OpenURL(url, GURL(), CURRENT_TAB,
|
|
|