Index: chrome/browser/ui/search/search_tab_helper.cc |
diff --git a/chrome/browser/ui/search/search_tab_helper.cc b/chrome/browser/ui/search/search_tab_helper.cc |
index e1deba0fc4462963bd9904df65ccd18e7fae97a8..cf249b7b7887b357076dbe49f2107b2916e0fae0 100644 |
--- a/chrome/browser/ui/search/search_tab_helper.cc |
+++ b/chrome/browser/ui/search/search_tab_helper.cc |
@@ -70,8 +70,7 @@ void RecordCacheableNTPLoadHistogram(bool succeeded) { |
bool IsCacheableNTP(const content::WebContents* contents) { |
const content::NavigationEntry* entry = |
contents->GetController().GetLastCommittedEntry(); |
- return chrome::ShouldUseCacheableNTP() && |
- chrome::NavEntryIsInstantNTP(contents, entry) && |
+ return chrome::NavEntryIsInstantNTP(contents, entry) && |
entry->GetURL() != GURL(chrome::kChromeSearchLocalNtpUrl); |
} |
@@ -295,7 +294,6 @@ void SearchTabHelper::DidFailProvisionalLoad( |
// navigation so it shouldn't be redirected. |
if (is_main_frame && |
error_code != net::ERR_ABORTED && |
- chrome::ShouldUseCacheableNTP() && |
validated_url != GURL(chrome::kChromeSearchLocalNtpUrl) && |
chrome::IsNTPURL(validated_url, profile())) { |
RedirectToLocalNTP(); |