Index: chrome/test/automation/automation_proxy.cc |
=================================================================== |
--- chrome/test/automation/automation_proxy.cc (revision 67520) |
+++ chrome/test/automation/automation_proxy.cc (working copy) |
@@ -157,10 +157,10 @@ |
use_named_interface ? IPC::Channel::MODE_NAMED_CLIENT |
: IPC::Channel::MODE_SERVER, |
this, // we are the listener |
- new AutomationMessageFilter(this), |
thread_->message_loop(), |
true, |
shutdown_event_.get())); |
+ channel_->AddFilter(new AutomationMessageFilter(this)); |
} |
void AutomationProxy::InitializeHandleTracker() { |