Index: extensions/renderer/render_frame_observer_natives.cc |
diff --git a/extensions/renderer/render_frame_observer_natives.cc b/extensions/renderer/render_frame_observer_natives.cc |
index 7c507b379933d487dc0c5c9c3932c078f896da72..bd5d2377fadb17027bd2ec10045b185f53e05a57 100644 |
--- a/extensions/renderer/render_frame_observer_natives.cc |
+++ b/extensions/renderer/render_frame_observer_natives.cc |
@@ -50,7 +50,7 @@ class LoadWatcher : public content::RenderFrameObserver { |
RenderFrameObserverNatives::RenderFrameObserverNatives(ScriptContext* context) |
: ObjectBackedNativeHandler(context), weak_ptr_factory_(this) { |
RouteFunction( |
- "OnDocumentElementCreated", |
+ "OnDocumentElementCreated", "app.window", |
base::Bind(&RenderFrameObserverNatives::OnDocumentElementCreated, |
base::Unretained(this))); |
} |