Index: webkit/plugins/ppapi/plugin_module.cc |
diff --git a/webkit/plugins/ppapi/plugin_module.cc b/webkit/plugins/ppapi/plugin_module.cc |
index 046140de4834f4f168f35731fec01748e615f636..91d8b2a6cda6795ea72efb4716769ff494a591d0 100644 |
--- a/webkit/plugins/ppapi/plugin_module.cc |
+++ b/webkit/plugins/ppapi/plugin_module.cc |
@@ -399,6 +399,7 @@ PluginModule::EntryPoints::EntryPoints() |
// PluginModule ---------------------------------------------------------------- |
PluginModule::PluginModule(const std::string& name, |
+ const std::string& version, |
const FilePath& path, |
PluginDelegate::ModuleLifetime* lifetime_delegate, |
const ::ppapi::PpapiPermissions& perms) |
@@ -409,6 +410,7 @@ PluginModule::PluginModule(const std::string& name, |
broker_(NULL), |
library_(NULL), |
name_(name), |
+ version_(version), |
path_(path), |
permissions_(perms), |
reserve_instance_id_(NULL) { |
@@ -499,6 +501,7 @@ scoped_refptr<PluginModule> PluginModule::CreateModuleForNaClInstance() { |
// plugin in the usual sense, so it isn't tracked by the browser. |
scoped_refptr<PluginModule> nacl_module( |
new PluginModule(name_, |
+ version_, |
path_, |
NULL, // no lifetime_delegate |
permissions_)); |