summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/resources
diff options
context:
space:
mode:
authorhaibinlu <haibinlu@chromium.org>2015-08-20 11:11:02 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-20 18:11:46 +0000
commitca6a9d9cf0368526772ef9b9f0407539737f490d (patch)
treef08445f51d2bb5dcae06b39ee5a0af69260a1187 /extensions/renderer/resources
parentc0d4f7aee47f2f5799d1f666e125df8d3431d47c (diff)
downloadchromium_src-ca6a9d9cf0368526772ef9b9f0407539737f490d.zip
chromium_src-ca6a9d9cf0368526772ef9b9f0407539737f490d.tar.gz
chromium_src-ca6a9d9cf0368526772ef9b9f0407539737f490d.tar.bz2
[MediaRouter]Pass in one route ID to extension for listenForRouteMessages
BUG= Review URL: https://codereview.chromium.org/1305453004 Cr-Commit-Position: refs/heads/master@{#344540}
Diffstat (limited to 'extensions/renderer/resources')
-rw-r--r--extensions/renderer/resources/media_router_bindings.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/renderer/resources/media_router_bindings.js b/extensions/renderer/resources/media_router_bindings.js
index 10281b1..6c711fd 100644
--- a/extensions/renderer/resources/media_router_bindings.js
+++ b/extensions/renderer/resources/media_router_bindings.js
@@ -508,7 +508,7 @@ define('media_router_bindings', [
* an empty list if an error occurred.
*/
MediaRouteProvider.prototype.listenForRouteMessages = function(routeId) {
- return this.handlers_.listenForRouteMessages([routeId])
+ return this.handlers_.listenForRouteMessages(routeId)
.then(function(messages) {
return {'messages': messages.map(messageToMojo_)};
}, function() {