Index: chrome/browser/ui/search/instant_controller.cc |
diff --git a/chrome/browser/ui/search/instant_controller.cc b/chrome/browser/ui/search/instant_controller.cc |
index bb81748fc747a535a8bda891efe1f2913398aaec..6c17fb80c30dcb7ef5a79f4818115b999fa15593 100644 |
--- a/chrome/browser/ui/search/instant_controller.cc |
+++ b/chrome/browser/ui/search/instant_controller.cc |
@@ -1430,13 +1430,8 @@ void InstantController::SendPopupBoundsToPage() { |
bool InstantController::GetInstantURL(Profile* profile, |
bool ignore_blacklist, |
std::string* instant_url) const { |
- DCHECK(profile); |
- instant_url->clear(); |
- |
- if (extended_enabled_ && use_local_overlay_only_) { |
- *instant_url = chrome::kChromeSearchLocalOmniboxPopupURL; |
- return true; |
- } |
+ if (extended_enabled_ && use_local_overlay_only_) |
+ return false; |
const GURL instant_url_obj = chrome::GetInstantURL(profile, |
omnibox_bounds_.x()); |