| Index: chrome/browser/tab_contents/render_view_context_menu.cc | 
| =================================================================== | 
| --- chrome/browser/tab_contents/render_view_context_menu.cc	(revision 108864) | 
| +++ chrome/browser/tab_contents/render_view_context_menu.cc	(working copy) | 
| @@ -4,6 +4,7 @@ | 
|  | 
| #include <algorithm> | 
| #include <set> | 
| +#include <utility> | 
|  | 
| #include "chrome/browser/tab_contents/render_view_context_menu.h" | 
|  | 
| @@ -398,7 +399,7 @@ | 
| const ExtensionMenuItem::List& items, | 
| bool can_cross_incognito, | 
| ui::SimpleMenuModel* menu_model, | 
| -    int *index) { | 
| +    int* index) { | 
| string16 selection_text = PrintableSelectionText(); | 
| ExtensionMenuItem::Type last_type = ExtensionMenuItem::NORMAL; | 
| int radio_group_id = 1; | 
| @@ -799,6 +800,9 @@ | 
| if (params_.selection_text.empty()) | 
| return; | 
|  | 
| +  ReplaceChars(params_.selection_text, AutocompleteMatch::kInvalidChars, | 
| +               ASCIIToUTF16(" "), ¶ms_.selection_text); | 
| + | 
| AutocompleteMatch match; | 
| profile_->GetAutocompleteClassifier()->Classify( | 
| params_.selection_text, string16(), false, false, &match, NULL); | 
|  |