Index: content/browser/power_save_blocker_android.cc |
diff --git a/content/browser/power_save_blocker_android.cc b/content/browser/power_save_blocker_android.cc |
index be232120ded67bcee5889a2c49d4f2f8b60ec31a..1e91625e19c295a5544f1adfe7f0cffdbac33b16 100644 |
--- a/content/browser/power_save_blocker_android.cc |
+++ b/content/browser/power_save_blocker_android.cc |
@@ -41,7 +41,7 @@ class PowerSaveBlockerImpl::Delegate |
}; |
void PowerSaveBlockerImpl::Delegate::ApplyBlock() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
JNIEnv* env = AttachCurrentThread(); |
ScopedJavaLocalRef<jobject> j_object = j_view_android_.get(env); |
if (j_object.obj()) |
@@ -49,7 +49,7 @@ void PowerSaveBlockerImpl::Delegate::ApplyBlock() { |
} |
void PowerSaveBlockerImpl::Delegate::RemoveBlock() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
JNIEnv* env = AttachCurrentThread(); |
ScopedJavaLocalRef<jobject> j_object = j_view_android_.get(env); |
if (j_object.obj()) |