Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.cc

Issue 6306011: Remove wstring from autocomplete. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/render_view_context_menu.cc
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu.cc (revision 72388)
+++ chrome/browser/tab_contents/render_view_context_menu.cc (working copy)
@@ -592,8 +592,7 @@
AutocompleteMatch match;
profile_->GetAutocompleteClassifier()->Classify(
- UTF16ToWideHack(params_.selection_text),
- std::wstring(), false, &match, NULL);
+ params_.selection_text, string16(), false, &match, NULL);
selection_navigation_url_ = match.destination_url;
if (!selection_navigation_url_.is_valid())
return;
Property changes on: chrome/browser/tab_contents/render_view_context_menu.cc
___________________________________________________________________
Deleted: svn:mergeinfo

Powered by Google App Engine
This is Rietveld 408576698