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

Unified Diff: chrome/browser/chrome_browser_application_mac.mm

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years 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
Index: chrome/browser/chrome_browser_application_mac.mm
diff --git a/chrome/browser/chrome_browser_application_mac.mm b/chrome/browser/chrome_browser_application_mac.mm
index f465664004dcff370ae16c5975022dc17b36af4d..5cb0ad5fe497c62c089d91ec94423dfc568ea4fe 100644
--- a/chrome/browser/chrome_browser_application_mac.mm
+++ b/chrome/browser/chrome_browser_application_mac.mm
@@ -75,16 +75,12 @@ void CancelTerminate() {
// NSApplication subclass is requested, require that to be the one
// delivered. The practical effect is to require a consistent NSApp
// across the executable.
- CHECK([NSApp isKindOfClass:self])
- << "NSApp must be of type " << [[self className] UTF8String]
- << ", not " << [[NSApp className] UTF8String];
+ CHECK([NSApp isKindOfClass:self]);
// If the message loop was initialized before NSApp is setup, the
// message pump will be setup incorrectly. Failing this implies
// that RegisterBrowserCrApp() should be called earlier.
- CHECK(base::MessagePumpMac::UsingCrApp())
- << "MessagePumpMac::Create() is using the wrong pump implementation"
- << " for " << [[self className] UTF8String];
+ CHECK(base::MessagePumpMac::UsingCrApp());
return app;
}

Powered by Google App Engine
This is Rietveld 408576698