Index: content/browser/shared_worker/shared_worker_host.cc |
diff --git a/content/browser/shared_worker/shared_worker_host.cc b/content/browser/shared_worker/shared_worker_host.cc |
index 8500a7953d1d8467a956ce95c560746c814277cd..d9b6d9fb104818590dafac2dfe503e0f46bcd808 100644 |
--- a/content/browser/shared_worker/shared_worker_host.cc |
+++ b/content/browser/shared_worker/shared_worker_host.cc |
@@ -72,11 +72,11 @@ SharedWorkerHost::SharedWorkerHost(SharedWorkerInstance* instance, |
closed_(false), |
creation_time_(base::TimeTicks::Now()), |
weak_factory_(this) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
} |
SharedWorkerHost::~SharedWorkerHost() { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
UMA_HISTOGRAM_LONG_TIMES("SharedWorker.TimeToDeleted", |
base::TimeTicks::Now() - creation_time_); |
// If we crashed, tell the RenderViewHosts. |