Index: extensions/browser/api/bluetooth_socket/bluetooth_socket_api.cc |
diff --git a/extensions/browser/api/bluetooth_socket/bluetooth_socket_api.cc b/extensions/browser/api/bluetooth_socket/bluetooth_socket_api.cc |
index c9c70b92c7587ddcf9172d05b3b45c2e50bcac0f..f791c96ccf72327baa10a95b219c8fb649106572 100644 |
--- a/extensions/browser/api/bluetooth_socket/bluetooth_socket_api.cc |
+++ b/extensions/browser/api/bluetooth_socket/bluetooth_socket_api.cc |
@@ -37,7 +37,7 @@ const char kSocketNotFoundError[] = "Socket not found"; |
linked_ptr<SocketInfo> CreateSocketInfo(int socket_id, |
BluetoothApiSocket* socket) { |
- DCHECK(BrowserThread::CurrentlyOn(BluetoothApiSocket::kThreadId)); |
+ DCHECK_CURRENTLY_ON(BluetoothApiSocket::kThreadId); |
linked_ptr<SocketInfo> socket_info(new SocketInfo()); |
// This represents what we know about the socket, and does not call through |
// to the system. |