Index: chrome/browser/autocomplete/autocomplete_edit.cc |
=================================================================== |
--- chrome/browser/autocomplete/autocomplete_edit.cc (revision 89645) |
+++ chrome/browser/autocomplete/autocomplete_edit.cc (working copy) |
@@ -854,8 +854,10 @@ |
if (!match->destination_url.SchemeIs(chrome::kExtensionScheme)) { |
// Warm up DNS Prefetch cache, or preconnect to a search service. |
- chrome_browser_net::AnticipateOmniboxUrl(match->destination_url, |
- IsPreconnectable(match->type)); |
+ if (profile_->GetPredictor()) |
+ profile_->GetPredictor()->AnticipateOmniboxUrl( |
+ match->destination_url, |
+ IsPreconnectable(match->type)); |
} |
// We could prefetch the alternate nav URL, if any, but because there |