summaryrefslogtreecommitdiffstats
path: root/chrome/browser/io_thread.cc
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-10 00:27:00 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-10 00:27:00 +0000
commit7658fb22bc5090a3b22be8f50702d852f4d50ea2 (patch)
treee8516bee1bf219517e370d05be21387872972968 /chrome/browser/io_thread.cc
parent4d1929f16b8c00f304fdc291cd4672c61ae5f400 (diff)
downloadchromium_src-7658fb22bc5090a3b22be8f50702d852f4d50ea2.zip
chromium_src-7658fb22bc5090a3b22be8f50702d852f4d50ea2.tar.gz
chromium_src-7658fb22bc5090a3b22be8f50702d852f4d50ea2.tar.bz2
Fix a crash when using negotiate HTTP auth.
BUG=48690 Review URL: http://codereview.chromium.org/2896007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52025 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/io_thread.cc')
-rw-r--r--chrome/browser/io_thread.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc
index 90af284..590b828 100644
--- a/chrome/browser/io_thread.cc
+++ b/chrome/browser/io_thread.cc
@@ -290,6 +290,7 @@ net::HttpAuthHandlerFactory* IOThread::CreateDefaultAuthHandlerFactory(
static_cast<net::HttpAuthHandlerNegotiate::Factory*>(
registry_factory->GetSchemeFactory("negotiate"));
DCHECK(negotiate_factory);
+ negotiate_factory->set_host_resolver(resolver);
if (command_line.HasSwitch(switches::kDisableAuthNegotiateCnameLookup))
negotiate_factory->set_disable_cname_lookup(true);
if (command_line.HasSwitch(switches::kEnableAuthNegotiatePort))