Index: content/test/data/web_ui_mojo_shell_test.js |
diff --git a/content/test/data/web_ui_mojo_shell_test.js b/content/test/data/web_ui_mojo_shell_test.js |
index 32077aa91f685d00febc3a722b99e6ef86eacf25..fdf8cb6b88abc7c3efb1d5be40867d1943e0d9b6 100644 |
--- a/content/test/data/web_ui_mojo_shell_test.js |
+++ b/content/test/data/web_ui_mojo_shell_test.js |
@@ -14,10 +14,11 @@ define('main', [ |
'mojo/public/js/core', |
'mojo/public/js/router', |
'mojo/services/network/public/interfaces/url_loader.mojom', |
- 'mojo/shell/public/interfaces/shell.mojom', |
+ 'mojo/shell/public/interfaces/connector.mojom', |
'content/public/renderer/service_provider', |
'content/public/test/test_mojo_service.mojom', |
-], function (core, router, urlMojom, shellMojom, serviceRegistry, testMojom) { |
+], function (core, router, urlMojom, connectorMojom, serviceRegistry, |
+ testMojom) { |
var connectToService = function(serviceProvider, iface) { |
var pipe = core.createMessagePipe(); |
@@ -29,8 +30,8 @@ define('main', [ |
return function() { |
domAutomationController.setAutomationId(0); |
var connectorPipe = |
- serviceRegistry.connectToService(shellMojom.Connector.name); |
- var connector = new shellMojom.Connector.proxyClass( |
+ serviceRegistry.connectToService(connectorMojom.Connector.name); |
+ var connector = new connectorMojom.Connector.proxyClass( |
new router.Router(connectorPipe)); |
connector.connect( |