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

Unified Diff: chrome/browser/ui/tabs/tab_utils.cc

Issue 1848663002: bluetooth: Remove indicator only when there are no more devices connected (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Address jyasskin's comments Created 4 years, 8 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/ui/tabs/tab_utils.cc
diff --git a/chrome/browser/ui/tabs/tab_utils.cc b/chrome/browser/ui/tabs/tab_utils.cc
index 21e422cd68d34fd30bb2fcd57788295be99c128a..a443952d2314dbe36d2a26a7b39dd5bb86a00f40 100644
--- a/chrome/browser/ui/tabs/tab_utils.cc
+++ b/chrome/browser/ui/tabs/tab_utils.cc
@@ -159,7 +159,7 @@ TabAlertState GetTabAlertStateForContents(content::WebContents* contents) {
return TabAlertState::MEDIA_RECORDING;
}
- if (contents->IsBluetoothDeviceConnected())
+ if (contents->IsConnectedToBluetoothDevice())
return TabAlertState::BLUETOOTH_CONNECTED;
if (contents->IsAudioMuted())

Powered by Google App Engine
This is Rietveld 408576698