diff options
Diffstat (limited to 'mojo/apps/js/test/js_to_cpp_unittest.js')
-rw-r--r-- | mojo/apps/js/test/js_to_cpp_unittest.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mojo/apps/js/test/js_to_cpp_unittest.js b/mojo/apps/js/test/js_to_cpp_unittest.js index b1073c8..ed57603 100644 --- a/mojo/apps/js/test/js_to_cpp_unittest.js +++ b/mojo/apps/js/test/js_to_cpp_unittest.js @@ -24,7 +24,8 @@ define('mojo/apps/js/test/js_to_cpp_unittest', [ cppSide.startTest(); } - JsSideConnection.prototype = Object.create(jsToCpp.JsSideStub.prototype); + JsSideConnection.prototype = + Object.create(jsToCpp.JsSide.stubClass.prototype); JsSideConnection.prototype.ping = function (arg) { this.cppSide_.pingResponse(); @@ -215,6 +216,6 @@ define('mojo/apps/js/test/js_to_cpp_unittest', [ sampleMessage[i] = 255 - i; } retainedConnection = new connection.Connection(handle, JsSideConnection, - jsToCpp.CppSideProxy); + jsToCpp.CppSide.proxyClass); }; }); |