Chromium Code Reviews| Index: src/gurl.cc |
| =================================================================== |
| --- src/gurl.cc (revision 166) |
| +++ src/gurl.cc (working copy) |
| @@ -456,7 +456,7 @@ |
| return false; |
| // FileSystem URLs have empty parsed_.host, so check this first. |
| - if (SchemeIsFileSystem()) |
| + if (SchemeIsFileSystem() && inner_url_) |
| return inner_url_->DomainIs(lower_ascii_domain, domain_len); |
| if (!parsed_.host.is_nonempty()) |