| 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 2c43c2229a08aa342f253b2b22a77721f1ce56e1..024f27697aba349405d0dbe13a24185f7b7c1984 100644
|
| --- a/chrome/browser/ui/search/instant_controller.cc
|
| +++ b/chrome/browser/ui/search/instant_controller.cc
|
| @@ -24,6 +24,7 @@
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/content_settings_types.h"
|
| #include "chrome/common/pref_names.h"
|
| +#include "chrome/common/search_urls.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "components/sessions/serialized_navigation_entry.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| @@ -156,7 +157,7 @@ void InstantController::InstantPageLoadFailed(content::WebContents* contents) {
|
| GURL instant_url = chrome::GetInstantURL(profile(),
|
| chrome::kDisableStartMargin);
|
| if (instant_tab_->IsLocal() ||
|
| - !chrome::MatchesOriginAndPath(instant_url, current_url) ||
|
| + !search::MatchesOriginAndPath(instant_url, current_url) ||
|
| !current_url.ref().empty() ||
|
| contents->GetController().CanGoForward())
|
| return;
|
|
|