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

Unified Diff: chrome/browser/cocoa/objc_zombie.mm

Issue 2857015: Clang/mac: Get unit_tests built. (Closed)
Patch Set: rebase Created 10 years, 4 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
Index: chrome/browser/cocoa/objc_zombie.mm
diff --git a/chrome/browser/cocoa/objc_zombie.mm b/chrome/browser/cocoa/objc_zombie.mm
index 8a6d766db2efd3581bddde00f29762ffab08c800..091393f8418e6acc1e6d689321ac9af4cf5fe70f 100644
--- a/chrome/browser/cocoa/objc_zombie.mm
+++ b/chrome/browser/cocoa/objc_zombie.mm
@@ -100,7 +100,7 @@ DestructFn* LookupObjectCxxDestruct() {
// them into |g_zombies| to be freed later.
void ZombieDealloc(id self, SEL _cmd) {
// This code should only be called when it is implementing |-dealloc|.
- DCHECK_EQ(_cmd, @selector(dealloc));
+ //DCHECK_EQ(_cmd, @selector(dealloc)); // clang
// Use the original |-dealloc| if the object doesn't wish to be
// zombied.
« no previous file with comments | « chrome/browser/autofill/form_structure_unittest.cc ('k') | chrome/browser/importer/firefox_importer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698