Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / api / web_request / web_request_api_helpers.cc
index d3619de..1c62081 100644 (file)
@@ -1288,7 +1288,7 @@ void ClearCacheOnNavigation() {
 void NotifyWebRequestAPIUsed(
     void* profile_id,
     scoped_refptr<const extensions::Extension> extension) {
-  DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+  DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
   Profile* profile = reinterpret_cast<Profile*>(profile_id);
   if (!g_browser_process->profile_manager()->IsValidProfile(profile))
     return;