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

Unified Diff: content/test/data/web_ui_mojo.js

Issue 215743002: Mojo: update web ui for the addition of connection.js and router.js (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 9 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 | « content/content_resources.grd ('k') | mojo/public/bindings/js/constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 69263cb7550ab55698aa5d54e293131fee013d89..31791cb955af547bb1b09ec47dc1bc8940b895eb 100644
--- a/content/test/data/web_ui_mojo.js
+++ b/content/test/data/web_ui_mojo.js
@@ -3,9 +3,9 @@
// found in the LICENSE file.
define('main', [
- 'mojo/public/bindings/js/connector',
+ 'mojo/public/bindings/js/connection',
'content/test/data/web_ui_test_mojo_bindings.mojom',
-], function(connector, bindings) {
+], function(connection, bindings) {
function RendererTargetTest(bindings) {
this.bindings_ = bindings;
@@ -22,10 +22,10 @@ define('main', [
this.bindings_.test();
};
- var connection;
+ var retainedConnection;
return function(handle) {
- connection = new connector.Connection(handle, RendererTargetTest,
- bindings.BrowserTargetProxy);
+ retainedConnection = new connection.Connection(handle, RendererTargetTest,
+ bindings.BrowserTargetProxy);
};
});
« no previous file with comments | « content/content_resources.grd ('k') | mojo/public/bindings/js/constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698