| Index: webkit/plugins/npapi/plugin_group.cc
|
| ===================================================================
|
| --- webkit/plugins/npapi/plugin_group.cc (revision 70986)
|
| +++ webkit/plugins/npapi/plugin_group.cc (working copy)
|
| @@ -181,8 +181,7 @@
|
| }
|
|
|
| // There's at least one version range, the plugin's version must be in it.
|
| - scoped_ptr<Version> plugin_version(
|
| - Version::GetVersionFromString(UTF16ToASCII(plugin.version)));
|
| + scoped_ptr<Version> plugin_version(CreateVersionFromString(plugin.version));
|
| if (plugin_version.get() == NULL) {
|
| // No version could be extracted, assume we don't match the range.
|
| return false;
|
| @@ -207,6 +206,7 @@
|
| std::replace(version.begin(), version.end(), 'r', '.');
|
| std::replace(version.begin(), version.end(), ',', '.');
|
| std::replace(version.begin(), version.end(), '(', '.');
|
| + std::replace(version.begin(), version.end(), '_', '.');
|
|
|
| return Version::GetVersionFromString(WideToASCII(version));
|
| }
|
|
|