diff options
author | ukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 04:48:01 +0000 |
---|---|---|
committer | ukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 04:48:01 +0000 |
commit | 3701eb650011bdcca54578b2b755f1da94f21132 (patch) | |
tree | 0411d67d4f68baff002e449508e989b8ed4a297c /build | |
parent | 8f7796da5eaea7e88c8d5d3d9bd2862c18afadec (diff) | |
download | chromium_src-3701eb650011bdcca54578b2b755f1da94f21132.zip chromium_src-3701eb650011bdcca54578b2b755f1da94f21132.tar.gz chromium_src-3701eb650011bdcca54578b2b755f1da94f21132.tar.bz2 |
Close immediately if no context is set
Profile::GetDefaultRequestContext() is initialized lazily, on the UI thread.
So, if SocketStreamHost runs before it has gotten lazily initialized yet,
SocketStream won't have context. In this case, SocketStream will die.
Rather than that, just close immediately.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/384077
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31886 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions