Index: content/browser/device_sensors/device_orientation_message_filter.cc |
diff --git a/content/browser/device_sensors/device_orientation_message_filter.cc b/content/browser/device_sensors/device_orientation_message_filter.cc |
index 402aa67a40f30d6d33435ff1934f046e925bbae1..63a9d6230f46739b64aee381b0057f02e9a8140b 100644 |
--- a/content/browser/device_sensors/device_orientation_message_filter.cc |
+++ b/content/browser/device_sensors/device_orientation_message_filter.cc |
@@ -15,7 +15,7 @@ DeviceOrientationMessageFilter::DeviceOrientationMessageFilter() |
} |
DeviceOrientationMessageFilter::~DeviceOrientationMessageFilter() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
if (is_started_) |
DeviceInertialSensorService::GetInstance()->RemoveConsumer( |
CONSUMER_TYPE_ORIENTATION); |