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

Unified Diff: chrome/common/mac/objc_zombie.mm

Issue 8368018: Convert chrome/common non-debug logs to debug logs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/common/mac/launchd.mm ('k') | chrome/common/mac/objc_zombie_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/mac/objc_zombie.mm
===================================================================
--- chrome/common/mac/objc_zombie.mm (revision 107051)
+++ chrome/common/mac/objc_zombie.mm (working copy)
@@ -450,7 +450,7 @@
size_t zombieCount) {
// Only allow enable/disable on the main thread, just to keep things
// simple.
- CHECK([NSThread isMainThread]);
+ DCHECK([NSThread isMainThread]);
if (!ZombieInit())
return false;
@@ -527,7 +527,7 @@
void ZombieDisable() {
// Only allow enable/disable on the main thread, just to keep things
// simple.
- CHECK([NSThread isMainThread]);
+ DCHECK([NSThread isMainThread]);
// |ZombieInit()| was never called.
if (!g_originalDeallocIMP)
@@ -535,7 +535,7 @@
// Put back the original implementation of -[NSObject dealloc].
Method m = class_getInstanceMethod([NSObject class], @selector(dealloc));
- CHECK(m);
+ DCHECK(m);
method_setImplementation(m, g_originalDeallocIMP);
// Can safely grab this because it only happens on the main thread.
« no previous file with comments | « chrome/common/mac/launchd.mm ('k') | chrome/common/mac/objc_zombie_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698