summaryrefslogtreecommitdiffstats
path: root/extensions/shell/renderer
diff options
context:
space:
mode:
authorlfg <lfg@chromium.org>2014-09-25 01:17:57 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-25 08:18:12 +0000
commit497416b6baae8a66fa850aa80f96c1005d7e28e7 (patch)
treea4e0d9d5aae07ec5244f96eaa6a18183cfd4bb99 /extensions/shell/renderer
parent2da9ddfb554e8a5b80820a3e45b657ae97d610e4 (diff)
downloadchromium_src-497416b6baae8a66fa850aa80f96c1005d7e28e7.zip
chromium_src-497416b6baae8a66fa850aa80f96c1005d7e28e7.tar.gz
chromium_src-497416b6baae8a66fa850aa80f96c1005d7e28e7.tar.bz2
Fixing script injection in app_shell.
Script injection wasn't working in app_shell because the ScriptInjectionManager never got created. BUG=352293 Review URL: https://codereview.chromium.org/602563003 Cr-Commit-Position: refs/heads/master@{#296679}
Diffstat (limited to 'extensions/shell/renderer')
-rw-r--r--extensions/shell/renderer/shell_content_renderer_client.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/shell/renderer/shell_content_renderer_client.cc b/extensions/shell/renderer/shell_content_renderer_client.cc
index 8a7e3ab..17f8b10f 100644
--- a/extensions/shell/renderer/shell_content_renderer_client.cc
+++ b/extensions/shell/renderer/shell_content_renderer_client.cc
@@ -111,6 +111,7 @@ void ShellContentRendererClient::RenderFrameCreated(
void ShellContentRendererClient::RenderViewCreated(
content::RenderView* render_view) {
new ExtensionHelper(render_view, extension_dispatcher_.get());
+ extension_dispatcher_->OnRenderViewCreated(render_view);
}
bool ShellContentRendererClient::OverrideCreatePlugin(