| Index: net/http/http_auth_cache.cc
|
| diff --git a/net/http/http_auth_cache.cc b/net/http/http_auth_cache.cc
|
| index 79ea7fd625b22d599a00e5e1b6e96d120a8511ad..d0543b463d3c1372e62390a1826935013368d449 100644
|
| --- a/net/http/http_auth_cache.cc
|
| +++ b/net/http/http_auth_cache.cc
|
| @@ -43,8 +43,7 @@ bool IsEnclosingPath(const std::string& container, const std::string& path) {
|
| void CheckOriginIsValid(const GURL& origin) {
|
| DCHECK(origin.is_valid());
|
| // Note that the scheme may be FTP when we're using a HTTP proxy.
|
| - DCHECK(origin.SchemeIs("http") || origin.SchemeIs("https") ||
|
| - origin.SchemeIs("ftp"));
|
| + DCHECK(origin.SchemeIsHttp() || origin.SchemeIs("ftp"));
|
| DCHECK(origin.GetOrigin() == origin);
|
| }
|
|
|
|
|