Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Unified Diff: chrome/browser/resources/options/chromeos/bluetooth_add_device_overlay.js

Issue 553573003: Compile chrome://settings, part 3: 167 proper errors left (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@G_options_errors_1
Patch Set: rebase Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
};

Powered by Google App Engine
This is Rietveld 408576698