Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(624)

Unified Diff: mojo/public/js/bindings/connection.js

Issue 694923002: Update mojo sdk to rev 91d94d6993c9b0c4135a95687a7d541ce90629b (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/cpp/environment/lib/environment.cc ('k') | mojo/services/html_viewer/html_document_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/js/bindings/connection.js
diff --git a/mojo/public/js/bindings/connection.js b/mojo/public/js/bindings/connection.js
index 7d92e8c76d9c126fd5278d4fcd3fd57d9674ecdf..4cfb0cde6e28ca3a8514b188043d4a2199c993bb 100644
--- a/mojo/public/js/bindings/connection.js
+++ b/mojo/public/js/bindings/connection.js
@@ -12,7 +12,7 @@ define("mojo/public/js/bindings/connection", [
if (routerFactory === undefined)
routerFactory = router.Router;
this.router_ = new routerFactory(handle, connectorFactory);
- this.remote = new remoteFactory(this.router_);
+ this.remote = remoteFactory && new remoteFactory(this.router_);
this.local = localFactory && new localFactory(this.remote);
this.router_.setIncomingReceiver(this.local);
« no previous file with comments | « mojo/public/cpp/environment/lib/environment.cc ('k') | mojo/services/html_viewer/html_document_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698