Index: content/browser/device_sensors/device_light_message_filter.cc |
diff --git a/content/browser/device_sensors/device_light_message_filter.cc b/content/browser/device_sensors/device_light_message_filter.cc |
index 751b6f11ce30fe240507125072b7bb809c29a406..797b3eade2c87a09eb35af5a629a42c723616fef 100644 |
--- a/content/browser/device_sensors/device_light_message_filter.cc |
+++ b/content/browser/device_sensors/device_light_message_filter.cc |
@@ -14,7 +14,7 @@ DeviceLightMessageFilter::DeviceLightMessageFilter() |
} |
DeviceLightMessageFilter::~DeviceLightMessageFilter() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
if (is_started_) { |
DeviceInertialSensorService::GetInstance()->RemoveConsumer( |
CONSUMER_TYPE_LIGHT); |