Index: content/browser/renderer_data_memoizing_store.h |
diff --git a/content/browser/renderer_data_memoizing_store.h b/content/browser/renderer_data_memoizing_store.h |
index 7ff15fa53f7b345adef0ec0b41ee8e15103500f1..035f70b7e3c4838113ff9d8027797fb2500c4b00 100644 |
--- a/content/browser/renderer_data_memoizing_store.h |
+++ b/content/browser/renderer_data_memoizing_store.h |
@@ -126,7 +126,7 @@ class RendererDataMemoizingStore : public RenderProcessHostObserver { |
}; |
void StartObservingProcess(int process_id) { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
RenderProcessHost* host = RenderProcessHost::FromID(process_id); |
if (!host) { |
// We lost the race to observe the host before it was destroyed. Since |
@@ -154,7 +154,7 @@ class RendererDataMemoizingStore : public RenderProcessHostObserver { |
} |
void RenderProcessHostDestroyed(RenderProcessHost* host) override { |
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
+ DCHECK_CURRENTLY_ON(BrowserThread::UI); |
RemoveRenderProcessItems(host->GetID()); |
} |