Index: mojo/apps/js/main.js |
diff --git a/mojo/apps/js/main.js b/mojo/apps/js/main.js |
index 6f6fb5659377416d9e5e045c0615e9e9c92864f4..355fb97f1a71bb720620c9a4d27b431c89d80a74 100644 |
--- a/mojo/apps/js/main.js |
+++ b/mojo/apps/js/main.js |
@@ -6,7 +6,7 @@ |
'console', |
'monotonic_clock', |
'timer', |
- 'mojo/public/bindings/js/connection', |
+ 'mojo/public/bindings/js/connector', |
'mojo/bindings/js/core', |
'mojo/apps/js/bindings/gl', |
'mojo/apps/js/bindings/threading', |
@@ -15,7 +15,7 @@ |
], function(console, |
monotonicClock, |
timer, |
- connection, |
+ connector, |
core, |
gljs, |
threading, |
@@ -281,8 +281,8 @@ |
var pipe = new core.createMessagePipe(); |
this.shell_.connect('mojo:mojo_native_viewport_service', pipe.handle1); |
- new connection.Connection(pipe.handle0, NativeViewportClientImpl, |
- nativeViewport.NativeViewportProxy); |
+ new connector.Connection(pipe.handle0, NativeViewportClientImpl, |
+ nativeViewport.NativeViewportProxy); |
} |
// TODO(aa): It is a bummer to need this stub object in JavaScript. We should |
// have a 'client' object that contains both the sending and receiving bits of |
@@ -390,6 +390,6 @@ |
return function(handle) { |
- new connection.Connection(handle, SampleApp, shell.ShellProxy); |
+ new connector.Connection(handle, SampleApp, shell.ShellProxy); |
}; |
}); |