| Index: ppapi/proxy/plugin_dispatcher.cc
|
| diff --git a/ppapi/proxy/plugin_dispatcher.cc b/ppapi/proxy/plugin_dispatcher.cc
|
| index 15c521cd2e8e3dc54458f48cbf55236ce9065e69..c134757f02bdbd69a0279f7104a0dcd2c97e1c59 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()->AddNewSyncMessageFilter();
|
|
|
| // The message filter will intercept and process certain messages directly
|
| // on the I/O thread.
|
|
|