Index: chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js |
diff --git a/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js b/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js |
index f8bfa60bac377c3e911ae609eb2e27fe606a13e2..6a3fcfc5b3dbd2af9213b0b2ac617fc2a5c9cfc8 100644 |
--- a/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js |
+++ b/chrome/browser/resources/options/chromeos/bluetooth_pair_device_overlay.js |
@@ -152,7 +152,7 @@ cr.define('options', function() { |
* @return {boolean} True if the overlay can be displayed. |
*/ |
canShowPage: function() { |
- return this.device_ && this.device_.address && this.device_.pairing; |
+ return !!(this.device_ && this.device_.address && this.device_.pairing); |
}, |
/** |