Chromium Code Reviews| Index: chrome/browser/ui/browser_instant_controller.cc |
| diff --git a/chrome/browser/ui/browser_instant_controller.cc b/chrome/browser/ui/browser_instant_controller.cc |
| index 662eca70de07a86df7f160b805ce7c4c37bffc73..c6e1bb65d7fd49fa86e949a65397d318505c9d8b 100644 |
| --- a/chrome/browser/ui/browser_instant_controller.cc |
| +++ b/chrome/browser/ui/browser_instant_controller.cc |
| @@ -302,12 +302,14 @@ void BrowserInstantController::OnDefaultSearchProviderChanged( |
| if (!contents) |
| continue; |
| - if (!instant_service->IsInstantProcess( |
| - contents->GetRenderProcessHost()->GetID())) |
| - continue; |
| + // Send new search URLs to the renderer. |
|
samarth
2013/09/20 16:43:40
I assume this will go in before https://codereview
Jered
2013/09/20 20:55:49
Ack.
|
| + content::RenderProcessHost* rph = contents->GetRenderProcessHost(); |
| + instant_service->SendSearchURLsToRenderer(rph); |
| // Reload the contents to ensure that it gets assigned to a non-priviledged |
| // renderer. |
| + if (!instant_service->IsInstantProcess(rph->GetID())) |
| + continue; |
| contents->GetController().Reload(false); |
| } |
| } |