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 47e4f3d06c4a36073bafbead2b80bf0b91899852..acdaf7fc326f2eed93c8fdf14be3dbbe635f6bf2 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,8 @@ InstantTab::~InstantTab() { |
void InstantTab::Init(content::WebContents* contents) { |
SetContents(contents); |
- DetermineIfPageSupportsInstant(); |
+ if (!contents->IsLoading()) |
+ DetermineIfPageSupportsInstant(); |
} |
bool InstantTab::ShouldProcessSetSuggestions() { |