Index: extensions/browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc |
diff --git a/extensions/browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc b/extensions/browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc |
index 3daadf391d1dea8ff7b97e607763023091d07667..662b9b7ca678956bfae6d882e67d5e9b12baa6cd 100644 |
--- a/extensions/browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc |
+++ b/extensions/browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc |
@@ -355,7 +355,7 @@ void BluetoothSocketEventDispatcher::DispatchEvent( |
void* browser_context_id, |
const std::string& extension_id, |
scoped_ptr<Event> event) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
content::BrowserContext* context = |
reinterpret_cast<content::BrowserContext*>(browser_context_id); |