| Index: chrome/common/child_thread.cc
|
| ===================================================================
|
| --- chrome/common/child_thread.cc (revision 10288)
|
| +++ chrome/common/child_thread.cc (working copy)
|
| @@ -14,7 +14,6 @@
|
| ChildThread::ChildThread(Thread::Options options)
|
| : Thread("Chrome_ChildThread"),
|
| owner_loop_(MessageLoop::current()),
|
| - in_send_(0),
|
| options_(options) {
|
| DCHECK(owner_loop_);
|
| channel_name_ = CommandLine::ForCurrentProcess()->GetSwitchValue(
|
| @@ -47,10 +46,7 @@
|
| return false;
|
| }
|
|
|
| - in_send_++;
|
| - bool rv = channel_->Send(msg);
|
| - in_send_--;
|
| - return rv;
|
| + return channel_->Send(msg);
|
| }
|
|
|
| void ChildThread::AddRoute(int32 routing_id, IPC::Channel::Listener* listener) {
|
|
|