Index: chrome/browser/search/search.cc |
diff --git a/chrome/browser/search/search.cc b/chrome/browser/search/search.cc |
index ec6b19364a4afaf7880cffb0c95dc5c56fe1502d..883c43ee2ece2e04a97a2e57a4bff8fc2991b7ba 100644 |
--- a/chrome/browser/search/search.cc |
+++ b/chrome/browser/search/search.cc |
@@ -296,6 +296,12 @@ bool ShouldAssignURLToInstantRenderer(const GURL& url, Profile* profile) { |
IsInstantURL(url, profile)); |
} |
+bool ShouldUseProcessPerSiteForInstantURL(const GURL& url, Profile* profile) { |
+ return ShouldAssignURLToInstantRenderer(url, profile) && |
+ (url.host() == chrome::kChromeSearchLocalNtpHost || |
+ url.host() == chrome::kChromeSearchOnlineNtpHost); |
+} |
+ |
bool IsInstantNTP(const content::WebContents* contents) { |
if (!contents) |
return false; |