Index: content/plugin/plugin_channel.cc |
diff --git a/content/plugin/plugin_channel.cc b/content/plugin/plugin_channel.cc |
index 7bf0858914ea742bc37b6e0d60144d83495d3bbb..a79ff81ff2e61d8f5f4ba73407572de8af15bb19 100644 |
--- a/content/plugin/plugin_channel.cc |
+++ b/content/plugin/plugin_channel.cc |
@@ -264,7 +264,7 @@ void PluginChannel::OnCreateInstance(const std::string& mime_type, |
*instance_id = GenerateRouteID(); |
scoped_refptr<WebPluginDelegateStub> stub(new WebPluginDelegateStub( |
mime_type, *instance_id, this)); |
- AddRoute(*instance_id, stub, NULL); |
+ AddRoute(*instance_id, stub.get(), NULL); |
plugin_stubs_.push_back(stub); |
} |