| Index: chrome/browser/instant/instant_controller.cc
|
| diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc
|
| index 83624cdc549af5c861ee12da890f6847c23813f6..1193a471b6efdf69699492e2b20089dd6bad055c 100644
|
| --- a/chrome/browser/instant/instant_controller.cc
|
| +++ b/chrome/browser/instant/instant_controller.cc
|
| @@ -870,6 +870,12 @@ void InstantController::InstantLoaderRenderViewGone() {
|
| }
|
|
|
| void InstantController::InstantLoaderAboutToNavigateMainFrame(const GURL& url) {
|
| + // If the page does not yet support instant, we allow redirects and other
|
| + // navigations to go through since the instant URL can redirect - e.g. to
|
| + // country specific pages.
|
| + if (!loader_->supports_instant())
|
| + return;
|
| +
|
| GURL instant_url(loader_->instant_url());
|
|
|
| // If we are navigating to the instant URL, do nothing.
|
|
|