Index: content/browser/gpu/gpu_process_host.cc |
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc |
index f0dbf338a91c32be8264ef8e8918fc4a105b58d0..98a6f2a7b31e1f07eabc5a5ac5022f28b97d59eb 100644 |
--- a/content/browser/gpu/gpu_process_host.cc |
+++ b/content/browser/gpu/gpu_process_host.cc |
@@ -286,7 +286,7 @@ bool GpuProcessHost::ValidateHost(GpuProcessHost* host) { |
// static |
GpuProcessHost* GpuProcessHost::Get(GpuProcessKind kind, |
CauseForGpuLaunch cause) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
// Don't grant further access to GPU if it is not allowed. |
GpuDataManagerImpl* gpu_data_manager = GpuDataManagerImpl::GetInstance(); |
@@ -360,7 +360,7 @@ void GpuProcessHost::RegisterGpuMainThreadFactory( |
// static |
GpuProcessHost* GpuProcessHost::FromID(int host_id) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
for (int i = 0; i < GPU_PROCESS_KIND_COUNT; ++i) { |
GpuProcessHost* host = g_gpu_process_hosts[i]; |