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

Unified Diff: chrome/test/data/webui/bluetooth_internals_browsertest.js

Issue 2556353004: Mojo JS bindings: code generator maps interface ptr and request to InterfacePtr and InterfaceReques… (Closed)
Patch Set: . Created 4 years 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
Index: chrome/test/data/webui/bluetooth_internals_browsertest.js
diff --git a/chrome/test/data/webui/bluetooth_internals_browsertest.js b/chrome/test/data/webui/bluetooth_internals_browsertest.js
index 8d15b7d903e8f80d7f132db183fcf3fe750cbc10..ae30e2da945b9acb70e1556ccbfdfd1cdf6dcfc8 100644
--- a/chrome/test/data/webui/bluetooth_internals_browsertest.js
+++ b/chrome/test/data/webui/bluetooth_internals_browsertest.js
@@ -67,7 +67,8 @@ BluetoothInternalsTest.prototype = {
]);
this.adapter = new TestAdapter();
- this.adapterHandle_ = connection.bindStubDerivedImpl(this.adapter);
+ this.adapterBinding_ = new bindings.Binding(adapter.Adapter,
+ this.adapter);
};
TestAdapterFactoryProxy.prototype = {
@@ -77,7 +78,7 @@ BluetoothInternalsTest.prototype = {
// Create message pipe bound to TestAdapter.
return Promise.resolve({
- adapter: this.adapterHandle_,
+ adapter: this.adapterBinding_.createInterfacePtrAndBind(),
});
}
};

Powered by Google App Engine
This is Rietveld 408576698