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

Unified Diff: webkit/glue/plugins/plugin_lib_linux.cc

Issue 174078: linux: Plugin descriptions can be UTF-8. (Closed)
Patch Set: Created 11 years, 4 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
« 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: webkit/glue/plugins/plugin_lib_linux.cc
diff --git a/webkit/glue/plugins/plugin_lib_linux.cc b/webkit/glue/plugins/plugin_lib_linux.cc
index ec0ead921139fd23e18e706b7ae75074a63c8d88..7da3e4459f120f858d4d7836fbd6c18e35f548b7 100644
--- a/webkit/glue/plugins/plugin_lib_linux.cc
+++ b/webkit/glue/plugins/plugin_lib_linux.cc
@@ -58,7 +58,7 @@ bool PluginLib::ReadWebPluginInfo(const FilePath& filename,
WebPluginMimeType mime_type;
mime_type.mime_type = fields[0];
SplitString(fields[1], ',', &mime_type.file_extensions);
- mime_type.description = ASCIIToWide(fields[2]);
+ mime_type.description = UTF8ToWide(fields[2]);
info->mime_types.push_back(mime_type);
}
}
« 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