Index: chrome/browser/resources/options/chromeos/bluetooth_add_device_overlay.js |
diff --git a/chrome/browser/resources/options/chromeos/bluetooth_add_device_overlay.js b/chrome/browser/resources/options/chromeos/bluetooth_add_device_overlay.js |
index 5eac14458ed010ce72486999eaf1456a58769bb1..fa91e6919c270704cad428918afe5a7a71749a29 100644 |
--- a/chrome/browser/resources/options/chromeos/bluetooth_add_device_overlay.js |
+++ b/chrome/browser/resources/options/chromeos/bluetooth_add_device_overlay.js |
@@ -24,7 +24,7 @@ cr.define('options', function() { |
/** |
* The list of available (unpaired) bluetooth devices. |
- * @type {DeletableItemList} |
+ * @type {options.DeletableItemList} |
* @private |
*/ |
deviceList_: null, |
@@ -79,8 +79,10 @@ cr.define('options', function() { |
* @private |
*/ |
createDeviceList_: function() { |
- this.deviceList_ = $('bluetooth-unpaired-devices-list'); |
- options.system.bluetooth.BluetoothDeviceList.decorate(this.deviceList_); |
+ var deviceList = $('bluetooth-unpaired-devices-list'); |
+ options.system.bluetooth.BluetoothDeviceList.decorate(deviceList); |
+ this.deviceList_ = assertInstanceof(deviceList, |
+ options.DeletableItemList); |
} |
}; |