| Index: chrome/browser/extensions/extension_host.cc | 
| diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc | 
| index 1518d0ef71529878ed1b4b3e7d2add1e7a021c27..1ec75a2aed9cc20327db5254126f05674092424c 100644 | 
| --- a/chrome/browser/extensions/extension_host.cc | 
| +++ b/chrome/browser/extensions/extension_host.cc | 
| @@ -135,6 +135,8 @@ ExtensionHost::ExtensionHost(const Extension* extension, | 
| render_view_host_ = new RenderViewHost(site_instance, this, MSG_ROUTING_NONE, | 
| NULL); | 
| render_view_host_->set_is_extension_process(true); | 
| +  if (extension->is_app()) | 
| +    render_view_host_->set_installed_app(extension); | 
| render_view_host_->AllowBindings(BindingsPolicy::EXTENSION); | 
| if (enable_dom_automation_) | 
| render_view_host_->AllowBindings(BindingsPolicy::DOM_AUTOMATION); | 
|  |