From 1b9e331a89d3c1249491e330cdfdea6942b360b1 Mon Sep 17 00:00:00 2001 From: thestig Date: Tue, 8 Sep 2015 12:33:09 -0700 Subject: Use DCHECK_CURRENTLY_ON in extensions/ Review URL: https://codereview.chromium.org/1328173002 Cr-Commit-Position: refs/heads/master@{#347767} --- extensions/shell/browser/shell_nacl_browser_delegate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/shell') diff --git a/extensions/shell/browser/shell_nacl_browser_delegate.cc b/extensions/shell/browser/shell_nacl_browser_delegate.cc index 03266d2..9f2b4bc 100644 --- a/extensions/shell/browser/shell_nacl_browser_delegate.cc +++ b/extensions/shell/browser/shell_nacl_browser_delegate.cc @@ -53,7 +53,7 @@ void OnKeepaliveOnUIThread( // Calls OnKeepaliveOnUIThread on UI thread. void OnKeepalive(const BrowserPpapiHost::OnKeepaliveInstanceData& instance_data, const base::FilePath& profile_data_directory) { - DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::UI)); + DCHECK_CURRENTLY_ON(BrowserThread::UI); BrowserThread::PostTask( BrowserThread::UI, FROM_HERE, -- cgit v1.1