| Index: content/test/data/web_ui_mojo.js
|
| diff --git a/content/test/data/web_ui_mojo.js b/content/test/data/web_ui_mojo.js
|
| index 38b01940c45e7568339293ccc46bee8b37bfc998..978d068210139d042b1f166fbcc6ce95859eb515 100644
|
| --- a/content/test/data/web_ui_mojo.js
|
| +++ b/content/test/data/web_ui_mojo.js
|
| @@ -3,17 +3,16 @@
|
| // found in the LICENSE file.
|
|
|
| define('main', [
|
| - 'mojo/public/js/connection',
|
| + 'mojo/public/js/router',
|
| 'content/test/data/web_ui_test_mojo_bindings.mojom',
|
| 'content/public/renderer/service_provider',
|
| -], function (connection, bindings, serviceProvider) {
|
| +], function (router, bindings, serviceProvider) {
|
| var browserTarget;
|
|
|
| return function() {
|
| - browserTarget = connection.bindProxyHandle(
|
| - serviceProvider.connectToService(bindings.BrowserTarget.name),
|
| - undefined,
|
| - bindings.BrowserTarget);
|
| + browserTarget = new bindings.BrowserTarget.proxyClass(
|
| + new router.Router(
|
| + serviceProvider.connectToService(bindings.BrowserTarget.name)));
|
|
|
| browserTarget.start().then(function() {
|
| browserTarget.stop();
|
|
|