summaryrefslogtreecommitdiffstats
path: root/net/tools
diff options
context:
space:
mode:
authormarshall@chromium.org <marshall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-01 22:26:16 +0000
committermarshall@chromium.org <marshall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-01 22:26:16 +0000
commit06c694d0cfa60d007b8f22ccdbc69780c52b6d41 (patch)
tree16d1408712c9f4ad681fe39f829dc52202e60065 /net/tools
parent858a0f0a7d0d7ee4efff67e10250adb9648a8219 (diff)
downloadchromium_src-06c694d0cfa60d007b8f22ccdbc69780c52b6d41.zip
chromium_src-06c694d0cfa60d007b8f22ccdbc69780c52b6d41.tar.gz
chromium_src-06c694d0cfa60d007b8f22ccdbc69780c52b6d41.tar.bz2
Change ChildProcess::set_main_thread registration to occur inside the RenderThreadImpl::Init method.
Background: The Init method is currently called from the RenderThreadImpl constructor. If set_main_thread is not called from Init then ContentRendererClient::RenderThreadStarted, which is also called from Init, will not be able to retrieve the current child thread using ChildThread::current. Retrieving the current child thread from inside RenderThreadStarted is necessary for performing actions that must occur before message processing starts such as adding additional MessageFilters to the child thread's channel. BUG=112335 TEST=ChildThread::current() returns non-NULL in ContentRendererClient::RenderThreadStarted Review URL: http://codereview.chromium.org/9297022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120112 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools')
0 files changed, 0 insertions, 0 deletions