| Index: chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js
|
| diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js
|
| index 674f161c4d321c125e6ee52c2e5dbaa87ab168a0..b88c6f37b7f7c4ade60523a5e7f619dfcd8c8de7 100644
|
| --- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js
|
| +++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_dialog.js
|
| @@ -240,7 +240,7 @@ settings.BluetoothPairDeviceBehavior = {
|
| else if (pairing == PairingEventType.REQUEST_PASSKEY)
|
| options.passkey = parseInt(this.$$('#passkey').value, 10);
|
| }
|
| - this.bluetoothPrivate.setPairingResponse(options, function() {
|
| + this.bluetoothPrivate.setPairingResponse(options, () => {
|
| if (chrome.runtime.lastError) {
|
| // TODO(stevenjb): Show error.
|
| console.error(
|
| @@ -249,7 +249,7 @@ settings.BluetoothPairDeviceBehavior = {
|
| ': Error: ' + chrome.runtime.lastError.message);
|
| }
|
| this.close();
|
| - }.bind(this));
|
| + });
|
|
|
| this.fire('response', options);
|
| },
|
|
|