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

Unified Diff: chrome/browser/extensions/extension_action_context_menu_model.cc

Issue 515020: Merge 35197 - Fix utf8 issue in extension action context menu.... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/249/src/
Patch Set: Created 11 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_action_context_menu_model.cc
===================================================================
--- chrome/browser/extensions/extension_action_context_menu_model.cc (revision 35241)
+++ chrome/browser/extensions/extension_action_context_menu_model.cc (working copy)
@@ -27,7 +27,7 @@
: ALLOW_THIS_IN_INITIALIZER_LIST(SimpleMenuModel(this)),
extension_(extension),
delegate_(delegate) {
- AddItem(NAME, ASCIIToUTF16(extension->name()));
+ AddItem(NAME, UTF8ToUTF16(extension->name()));
AddSeparator();
AddItemWithStringId(CONFIGURE, IDS_EXTENSIONS_OPTIONS);
AddItemWithStringId(DISABLE, IDS_EXTENSIONS_DISABLE);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698