Index: ui/keyboard/resources/keyboard_mojo.js |
diff --git a/ui/keyboard/resources/keyboard_mojo.js b/ui/keyboard/resources/keyboard_mojo.js |
index eddf8667ec6fa6bae1593d6e09fca2e6d9f1e53f..ea681c78f27cfc5f9990c582ccd239baa14716a6 100644 |
--- a/ui/keyboard/resources/keyboard_mojo.js |
+++ b/ui/keyboard/resources/keyboard_mojo.js |
@@ -18,7 +18,8 @@ if (!chrome.virtualKeyboardPrivate) { |
mojo_api = this; |
} |
- KeyboardImpl.prototype = Object.create(keyboard.KeyboardAPIStub.prototype); |
+ KeyboardImpl.prototype = Object.create( |
+ keyboard.KeyboardAPI.stubClass.prototype); |
KeyboardImpl.prototype.onTextInputTypeChanged = function(input_type) { |
console.log('Text input changed: ' + input_type); |
@@ -30,9 +31,9 @@ if (!chrome.virtualKeyboardPrivate) { |
return function() { |
connection = new connector.Connection( |
serviceProvider.connectToService( |
- keyboard.KeyboardUIHandlerMojoProxy.NAME_), |
+ keyboard.KeyboardUIHandlerMojo.name), |
KeyboardImpl, |
- keyboard.KeyboardUIHandlerMojoProxy); |
+ keyboard.KeyboardUIHandlerMojo.proxyClass); |
}; |
}); |