Index: extensions/renderer/display_source_custom_bindings.cc |
diff --git a/extensions/renderer/display_source_custom_bindings.cc b/extensions/renderer/display_source_custom_bindings.cc |
index 1a021c157b3f0701159522b4a4de78b1e447be29..a933297b22ddcfb2d347915fa5237b6b982a9211 100644 |
--- a/extensions/renderer/display_source_custom_bindings.cc |
+++ b/extensions/renderer/display_source_custom_bindings.cc |
@@ -29,10 +29,10 @@ const char kSessionNotFound[] = "Session not found"; |
DisplaySourceCustomBindings::DisplaySourceCustomBindings(ScriptContext* context) |
: ObjectBackedNativeHandler(context), |
weak_factory_(this) { |
- RouteFunction("StartSession", |
+ RouteFunction("StartSession", "displaySource", |
base::Bind(&DisplaySourceCustomBindings::StartSession, |
weak_factory_.GetWeakPtr())); |
- RouteFunction("TerminateSession", |
+ RouteFunction("TerminateSession", "displaySource", |
base::Bind(&DisplaySourceCustomBindings::TerminateSession, |
weak_factory_.GetWeakPtr())); |
} |