Index: chrome/browser/net/predictor_api.cc |
=================================================================== |
--- chrome/browser/net/predictor_api.cc (revision 71128) |
+++ chrome/browser/net/predictor_api.cc (working copy) |
@@ -246,7 +246,7 @@ |
return; |
if (url.SchemeIs("http") || url.SchemeIs("https")) { |
- const GURL url_without_path(url.GetWithEmptyPath()); |
+ const GURL url_without_path(Predictor::CanonicalizeUrl(url)); |
if (first_navigations_.find(url_without_path) == first_navigations_.end()) |
first_navigations_[url_without_path] = base::TimeTicks::Now(); |
} |