Index: chrome/browser/media/media_stream_device_permissions.cc |
diff --git a/chrome/browser/media/media_stream_device_permissions.cc b/chrome/browser/media/media_stream_device_permissions.cc |
index 6ce1c7b989de25ab2bec226f30047a4de5fb6dec..3f5221dda6587b6438e690423f70c3ca476e151f 100644 |
--- a/chrome/browser/media/media_stream_device_permissions.cc |
+++ b/chrome/browser/media/media_stream_device_permissions.cc |
@@ -48,7 +48,7 @@ MediaStreamDevicePolicy GetDevicePolicy(Profile* profile, |
const GURL& security_origin, |
const char* policy_name, |
const char* whitelist_policy_name) { |
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI); |
// If the security origin policy matches a value in the whitelist, allow it. |
// Otherwise, check the |policy_name| master switch for the default behavior. |