| Index: ppapi/proxy/plugin_dispatcher.cc
|
| diff --git a/ppapi/proxy/plugin_dispatcher.cc b/ppapi/proxy/plugin_dispatcher.cc
|
| index f8cf342973e5570711b4c8d92827b09294b65074..11eea64f625a36a8c05c0d9b28df7951959cbe55 100644
|
| --- a/ppapi/proxy/plugin_dispatcher.cc
|
| +++ b/ppapi/proxy/plugin_dispatcher.cc
|
| @@ -65,7 +65,7 @@ PluginDispatcher::PluginDispatcher(base::ProcessHandle remote_process_handle,
|
| plugin_delegate_(NULL),
|
| received_preferences_(false),
|
| plugin_dispatcher_id_(0) {
|
| - SetSerializationRules(new PluginVarSerializationRules);
|
| + SetSerializationRules(new PluginVarSerializationRules(AsWeakPtr()));
|
|
|
| if (!g_live_dispatchers)
|
| g_live_dispatchers = new DispatcherSet;
|
|
|