Index: ipc/ipc_channel_proxy.cc |
diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc |
index 6d3fdeb3162b76c2e2737b81bad382a920f22b9d..5d23e7a47752e59046ce56b0d06d1e84d6fa89af 100644 |
--- a/ipc/ipc_channel_proxy.cc |
+++ b/ipc/ipc_channel_proxy.cc |
@@ -195,7 +195,7 @@ void ChannelProxy::Context::OnSendMessage(Message* message) { |
void ChannelProxy::Context::OnAddFilter() { |
std::vector<scoped_refptr<MessageFilter> > filters; |
{ |
- AutoLock auto_lock(pending_filters_lock_); |
+ base::AutoLock auto_lock(pending_filters_lock_); |
filters.swap(pending_filters_); |
} |
@@ -227,7 +227,7 @@ void ChannelProxy::Context::OnRemoveFilter(MessageFilter* filter) { |
// Called on the listener's thread |
void ChannelProxy::Context::AddFilter(MessageFilter* filter) { |
- AutoLock auto_lock(pending_filters_lock_); |
+ base::AutoLock auto_lock(pending_filters_lock_); |
pending_filters_.push_back(make_scoped_refptr(filter)); |
ipc_message_loop_->PostTask( |
FROM_HERE, |