Index: content/common/pepper_plugin_registry.cc |
diff --git a/content/common/pepper_plugin_registry.cc b/content/common/pepper_plugin_registry.cc |
index 1c0407d8fdce756a9f7ee1e81c89e3ec26e19b47..62793190512d0cfb8db4ecc129bbaf1ce0d660a9 100644 |
--- a/content/common/pepper_plugin_registry.cc |
+++ b/content/common/pepper_plugin_registry.cc |
@@ -229,7 +229,7 @@ PepperPluginRegistry::PepperPluginRegistry() { |
scoped_refptr<webkit::ppapi::PluginModule> module = |
new webkit::ppapi::PluginModule(current.name, current.path, this, |
ppapi::PpapiPermissions(current.permissions)); |
- AddLiveModule(current.path, module); |
+ AddLiveModule(current.path, module.get()); |
if (current.is_internal) { |
if (!module->InitAsInternalPlugin(current.internal_entry_points)) { |
DLOG(ERROR) << "Failed to load pepper module: " << current.path.value(); |