Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Unified Diff: chrome/browser/notifications/extension_welcome_notification_factory.cc

Issue 1102353003: [chrome/browser/notifications] favor DCHECK_CURRENTLY_ON for better logs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/notifications/desktop_notification_service_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/extension_welcome_notification_factory.cc
diff --git a/chrome/browser/notifications/extension_welcome_notification_factory.cc b/chrome/browser/notifications/extension_welcome_notification_factory.cc
index e7c9655ff94db5b5772b139a0a9c85c29c4abfcc..8094ebd205a52a7eafd305199ef4c2f1b5b48a0c 100644
--- a/chrome/browser/notifications/extension_welcome_notification_factory.cc
+++ b/chrome/browser/notifications/extension_welcome_notification_factory.cc
@@ -15,7 +15,7 @@
ExtensionWelcomeNotification*
ExtensionWelcomeNotificationFactory::GetForBrowserContext(
content::BrowserContext* context) {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
return static_cast<ExtensionWelcomeNotification*>(
GetInstance()->GetServiceForBrowserContext(context, true));
}
« no previous file with comments | « chrome/browser/notifications/desktop_notification_service_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698