Index: chrome/browser/io_thread.cc |
diff --git a/chrome/browser/io_thread.cc b/chrome/browser/io_thread.cc |
index f5d30e33c119380c722346919143ffdbb04a3a25..56b428dda57052d9ab1f40de7eb16e6ede85dd5a 100644 |
--- a/chrome/browser/io_thread.cc |
+++ b/chrome/browser/io_thread.cc |
@@ -1072,8 +1072,8 @@ net::HttpAuthHandlerFactory* IOThread::CreateDefaultAuthHandlerFactory( |
globals_->url_security_manager.reset( |
net::URLSecurityManager::Create(auth_filter_default_credentials, |
auth_filter_delegate)); |
- std::vector<std::string> supported_schemes; |
- base::SplitString(auth_schemes_, ',', &supported_schemes); |
+ std::vector<std::string> supported_schemes = base::SplitString( |
+ auth_schemes_, ",", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
scoped_ptr<net::HttpAuthHandlerRegistryFactory> registry_factory( |
net::HttpAuthHandlerRegistryFactory::Create( |