Index: chrome/browser/ui/search/instant_tab.cc |
diff --git a/chrome/browser/ui/search/instant_tab.cc b/chrome/browser/ui/search/instant_tab.cc |
index 0d1ab82076d4b4919cc98004016fc8ddd0c19ffc..d92688a9ec5146523d65b96a44f7d038fd4461af 100644 |
--- a/chrome/browser/ui/search/instant_tab.cc |
+++ b/chrome/browser/ui/search/instant_tab.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include "chrome/browser/ui/search/instant_tab.h" |
+#include "content/public/browser/web_contents.h" |
InstantTab::InstantTab(InstantPage::Delegate* delegate) |
: InstantPage(delegate, "") { |
@@ -13,7 +14,12 @@ InstantTab::~InstantTab() { |
void InstantTab::Init(content::WebContents* contents) { |
SetContents(contents); |
- DetermineIfPageSupportsInstant(); |
+ if (!contents->IsWaitingForResponse()) |
+ DetermineIfPageSupportsInstant(); |
+} |
+ |
+bool InstantTab::ShouldProcessAboutToNavigateMainFrame() { |
+ return true; |
} |
bool InstantTab::ShouldProcessSetSuggestions() { |