| Index: chrome/browser/resources/options/chromeos/keyboard_overlay.js
|
| diff --git a/chrome/browser/resources/options/chromeos/keyboard_overlay.js b/chrome/browser/resources/options/chromeos/keyboard_overlay.js
|
| index 74680dbf7d6889452fc8a2e38c389276ad4f748b..5e6f2e01513e97533dae39188a50ac934e5ebf8d 100644
|
| --- a/chrome/browser/resources/options/chromeos/keyboard_overlay.js
|
| +++ b/chrome/browser/resources/options/chromeos/keyboard_overlay.js
|
| @@ -161,15 +161,10 @@ cr.define('options', function() {
|
| };
|
|
|
| // Forward public APIs to private implementations.
|
| - [
|
| + cr.makePublic(KeyboardOverlay, [
|
| 'showCapsLockOptions',
|
| 'showDiamondKeyOptions',
|
| - ].forEach(function(name) {
|
| - KeyboardOverlay[name] = function() {
|
| - var instance = KeyboardOverlay.getInstance();
|
| - return instance[name + '_'].apply(instance, arguments);
|
| - };
|
| - });
|
| + ]);
|
|
|
| // Export
|
| return {
|
|
|