Index: chrome/browser/extensions/api/bluetooth/bluetooth_api.cc |
diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc b/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc |
index d2f041fcf4586743bf978de6ec9b63ef7366479f..ba365e1bfaa5c3a514fbe941934314af7dc579a6 100644 |
--- a/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc |
+++ b/chrome/browser/extensions/api/bluetooth/bluetooth_api.cc |
@@ -574,7 +574,7 @@ bool BluetoothStartDiscoveryFunction::RunImpl() { |
GetEventRouter(profile())->SetSendDiscoveryEvents(true); |
// If the adapter is already discovering, there is nothing else to do. |
- if (GetMutableAdapter(profile())->IsDiscovering()) { |
+ if (GetAdapter(profile())->IsDiscovering()) { |
SendResponse(true); |
return true; |
} |