| Index: chrome/browser/chrome_content_browser_client.cc
|
| ===================================================================
|
| --- chrome/browser/chrome_content_browser_client.cc (revision 82344)
|
| +++ chrome/browser/chrome_content_browser_client.cc (working copy)
|
| @@ -37,8 +37,10 @@
|
| render_view_host->set_is_extension_process(is_extension_process);
|
|
|
| const Extension* installed_app = service->GetInstalledApp(url);
|
| - static_cast<BrowserRenderProcessHost*>(render_view_host->process())->
|
| - set_installed_app(installed_app);
|
| + if (installed_app) {
|
| + service->SetInstalledAppForRenderer(
|
| + installed_app, render_view_host->process()->id());
|
| + }
|
| }
|
| }
|
|
|
| @@ -47,8 +49,7 @@
|
| host->channel()->AddFilter(new ChromeRenderMessageFilter(
|
| host->id(),
|
| host->profile(),
|
| - host->profile()->GetRequestContextForPossibleApp(
|
| - host->installed_app())));
|
| + host->profile()->GetRequestContextForPossibleApp(host->id())));
|
| host->channel()->AddFilter(new PrintingMessageFilter());
|
| host->channel()->AddFilter(
|
| new SearchProviderInstallStateMessageFilter(host->id(), host->profile()));
|
|
|