From d65cab7ac310ea12c5d946ff40242a243ce911da Mon Sep 17 00:00:00 2001 From: "jcampan@google.com" Date: Tue, 12 Aug 2008 01:25:41 +0000 Subject: Enabling sync_channel in the browser to allow accessibility code making blocking calls. This replaces my previous CL that was somehow duplicating some of these functionalities. BUG=None TEST=Run the unit tests. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@691 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/renderer/render_thread.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome/renderer') diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc index 4288377..b61e1eb 100644 --- a/chrome/renderer/render_thread.cc +++ b/chrome/renderer/render_thread.cc @@ -113,7 +113,8 @@ void RenderThread::Init() { new ScopedRunnableMethodFactory(this)); channel_.reset(new IPC::SyncChannel(channel_name_, - IPC::Channel::MODE_CLIENT, this, owner_loop_, true)); + IPC::Channel::MODE_CLIENT, this, NULL, owner_loop_, true, + RenderProcess::GetShutDownEvent())); ThreadLocalStorage::Set(tls_index_, this); -- cgit v1.1