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

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

Issue 11359117: [Mac] Temporarily stop clearing zombie objects. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/mac/objc_zombie.mm
diff --git a/chrome/common/mac/objc_zombie.mm b/chrome/common/mac/objc_zombie.mm
index 0f01a529d031a914f32a40902f1296e3c45b3401..cd6a31a7279460c7e0dc87baeaba62f07df82e54 100644
--- a/chrome/common/mac/objc_zombie.mm
+++ b/chrome/common/mac/objc_zombie.mm
@@ -116,7 +116,11 @@ void ZombieDealloc(id self, SEL _cmd) {
// class without C++ destructors or associative references, so it
// won't hurt anything.
objc_destructInstance(self);
+ // TODO(shess): Temporarily disable clearing the object to debug
+ // http://crbug.com/154483
+#if 0
memset(self, '!', size);
+#endif
// If the instance is big enough, make it into a fat zombie and have
// it remember the old |isa|. Otherwise make it a regular zombie.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698