Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Unified Diff: chrome/browser/io_thread.cc

Issue 2896007: Fix a crash when using negotiate HTTP auth. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Remove the NOTREACHED Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.cc
===================================================================
--- chrome/browser/io_thread.cc (revision 51914)
+++ chrome/browser/io_thread.cc (working copy)
@@ -290,6 +290,7 @@
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))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698