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

Unified Diff: chrome/common/pepper_plugin_registry.cc

Issue 6327019: Fix pepper plugin description regression (Closed) Base URL: svn://svn.chromium.org/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
« 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/common/pepper_plugin_registry.cc
diff --git a/chrome/common/pepper_plugin_registry.cc b/chrome/common/pepper_plugin_registry.cc
index 963f24894031f9b30a0fd2472727c7dffaed172b..dc852d9ad42948ab712b9b203bc06f75e51a7da0 100644
--- a/chrome/common/pepper_plugin_registry.cc
+++ b/chrome/common/pepper_plugin_registry.cc
@@ -116,8 +116,10 @@ void PepperPluginRegistry::GetPluginInfoFromSwitch(
#endif
if (name_parts.size() > 1)
plugin.name = name_parts[1];
- if (name_parts.size() > 2)
+ if (name_parts.size() > 2) {
+ plugin.description = name_parts[2];
plugin.type_descriptions = name_parts[2];
+ }
for (size_t j = 1; j < parts.size(); ++j)
plugin.mime_types.push_back(parts[j]);
« 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