| Index: ppapi/proxy/plugin_dispatcher.cc
|
| diff --git a/ppapi/proxy/plugin_dispatcher.cc b/ppapi/proxy/plugin_dispatcher.cc
|
| index 15c521cd2e8e3dc54458f48cbf55236ce9065e69..80fec1f60fcbd08f982e549e5af5abe7f8f9d754 100644
|
| --- a/ppapi/proxy/plugin_dispatcher.cc
|
| +++ b/ppapi/proxy/plugin_dispatcher.cc
|
| @@ -171,8 +171,7 @@ bool PluginDispatcher::InitPluginWithChannel(
|
| plugin_delegate_ = delegate;
|
| plugin_dispatcher_id_ = plugin_delegate_->Register(this);
|
|
|
| - sync_filter_ = new IPC::SyncMessageFilter(delegate->GetShutdownEvent());
|
| - channel()->AddFilter(sync_filter_.get());
|
| + sync_filter_ = channel()->CreateSyncMessageFilter();
|
|
|
| // The message filter will intercept and process certain messages directly
|
| // on the I/O thread.
|
|
|