Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index 9677f919fc9dce37e08db35a626aebaf185f6ed4..7cc342443c467b6df30ec203974edab5193e2aa6 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -1109,8 +1109,11 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches( |
InstantService* instant_service = |
InstantServiceFactory::GetForProfile(profile); |
if (instant_service && |
- instant_service->IsInstantProcess(process->GetID())) |
+ instant_service->IsInstantProcess(process->GetID())) { |
command_line->AppendSwitch(switches::kInstantProcess); |
+ if (chrome::search::IsInstantExtendedAPIEnabled(profile)) |
+ command_line->AppendSwitch(switches::kEnableInstantExtendedAPI); |
+ } |
} |
if (content::IsThreadedCompositingEnabled()) |