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

Unified Diff: chrome/browser/resources/settings/bluetooth_page/bluetooth_subpage.js

Issue 2957153003: MD Settings: remove unsupported routes from guest-mode. (Closed)
Patch Set: merge Created 3 years, 5 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/settings/bluetooth_page/bluetooth_subpage.js
diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_subpage.js b/chrome/browser/resources/settings/bluetooth_page/bluetooth_subpage.js
index 6bfa0373c841c00c26105b63d45749a978e73c2a..731f9d523d4a3cc6481040797e7226a270f31b8b 100644
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_subpage.js
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_subpage.js
@@ -240,7 +240,7 @@ Polymer({
updateDiscovery_: function() {
if (!this.adapterState || !this.adapterState.powered)
return;
- if (settings.getCurrentRoute() == settings.Route.BLUETOOTH_DEVICES)
+ if (settings.getCurrentRoute() == settings.routes.BLUETOOTH_DEVICES)
this.startDiscovery_();
else
this.stopDiscovery_();

Powered by Google App Engine
This is Rietveld 408576698