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 68b6cef11b0871faff731eaaef04722352a877fb..db00567a9ea03c834cbdce66d9f803f9e9e6c651 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(); |