summaryrefslogtreecommitdiffstats
path: root/extensions/shell/renderer/shell_content_renderer_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/shell/renderer/shell_content_renderer_client.cc')
-rw-r--r--extensions/shell/renderer/shell_content_renderer_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/shell/renderer/shell_content_renderer_client.cc b/extensions/shell/renderer/shell_content_renderer_client.cc
index 88df15c..a123363 100644
--- a/extensions/shell/renderer/shell_content_renderer_client.cc
+++ b/extensions/shell/renderer/shell_content_renderer_client.cc
@@ -68,6 +68,7 @@ void ShellContentRendererClient::RenderFrameCreated(
content::RenderFrame* render_frame) {
// ExtensionFrameHelper destroys itself when the RenderFrame is destroyed.
new ExtensionFrameHelper(render_frame, extension_dispatcher_.get());
+ extension_dispatcher_->OnRenderFrameCreated(render_frame);
// TODO(jamescook): Do we need to add a new PepperHelper(render_frame) here?
// It doesn't seem necessary for either Pepper or NaCl.
@@ -80,7 +81,6 @@ 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(