diff options
author | yzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-10 06:51:48 +0000 |
---|---|---|
committer | yzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-10 06:51:48 +0000 |
commit | 67600b937c4b6b905998fcc36b6c9bd1891356f6 (patch) | |
tree | 88bf474e00a2816651ca9e96474166d34649e454 /ppapi/proxy/host_dispatcher.cc | |
parent | e6658d22661ce644d6ada160a951a1eee87b6201 (diff) | |
download | chromium_src-67600b937c4b6b905998fcc36b6c9bd1891356f6.zip chromium_src-67600b937c4b6b905998fcc36b6c9bd1891356f6.tar.gz chromium_src-67600b937c4b6b905998fcc36b6c9bd1891356f6.tar.bz2 |
Fix a crash related to PPAPI scripting.
SerializedVar and MessageChannel didn't properly handle the case that the dispatcher goes away while waiting for the reply to a sync message.
BUG=110095
TEST=When click the Test button on ppapi/example/example.html, the plugin is removed but the renderer doesn't crash.
Review URL: http://codereview.chromium.org/9655019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126014 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/host_dispatcher.cc')
-rw-r--r-- | ppapi/proxy/host_dispatcher.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/proxy/host_dispatcher.cc b/ppapi/proxy/host_dispatcher.cc index fc7686f..d1c28f7 100644 --- a/ppapi/proxy/host_dispatcher.cc +++ b/ppapi/proxy/host_dispatcher.cc @@ -72,7 +72,7 @@ HostDispatcher::HostDispatcher(base::ProcessHandle remote_process_handle, g_module_to_dispatcher = new ModuleToDispatcherMap; (*g_module_to_dispatcher)[pp_module_] = this; - SetSerializationRules(new HostVarSerializationRules(module)); + SetSerializationRules(new HostVarSerializationRules); ppb_proxy_ = reinterpret_cast<const PPB_Proxy_Private*>( local_get_interface(PPB_PROXY_PRIVATE_INTERFACE)); |