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

Issue 7826016: [Mac] Enable CrZombie for all processes. (Closed)

Created:
9 years, 3 months ago by Scott Hess - ex-Googler
Modified:
9 years, 3 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

[Mac] Enable CrZombie for all processes. For the browser process, this will be overridden by -[BrowserCrApplication init] (which raises it). BUG=94551 TEST=Developers don't complain about zombie objects in other processes. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99754

Patch Set 1 #

Total comments: 11

Patch Set 2 : Include order. #

Patch Set 3 : DEPS change. #

Total comments: 1

Patch Set 4 : Whitespace, and verify merge. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -367 lines) Patch
M chrome/app/chrome_main.cc View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_application_mac.mm View 1 2 chunks +3 lines, -3 lines 0 comments Download
D chrome/browser/ui/cocoa/objc_method_swizzle.h View 1 chunk +0 lines, -28 lines 0 comments Download
D chrome/browser/ui/cocoa/objc_method_swizzle.mm View 1 chunk +0 lines, -59 lines 0 comments Download
D chrome/browser/ui/cocoa/objc_method_swizzle_unittest.mm View 1 chunk +0 lines, -76 lines 0 comments Download
D chrome/browser/ui/cocoa/objc_zombie.h View 1 chunk +0 lines, -39 lines 0 comments Download
M chrome/browser/ui/cocoa/objc_zombie.mm View 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/ui/cocoa/objc_zombie_unittest.mm View 1 chunk +0 lines, -134 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/chrome_common.gypi View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/mac/DEPS View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A + chrome/common/mac/objc_method_swizzle.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + chrome/common/mac/objc_method_swizzle.mm View 1 2 1 chunk +1 line, -2 lines 0 comments Download
A + chrome/common/mac/objc_method_swizzle_unittest.mm View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/common/mac/objc_zombie.h View 2 chunks +14 lines, -6 lines 0 comments Download
A + chrome/common/mac/objc_zombie.mm View 1 5 chunks +7 lines, -7 lines 0 comments Download
A + chrome/common/mac/objc_zombie_unittest.mm View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
Scott Hess - ex-Googler
I wasn't quite able to figure out whether the zombie and swizzle files should get ...
9 years, 3 months ago (2011-09-01 21:58:22 UTC) #1
Mark Mentovai
http://codereview.chromium.org/7826016/diff/1/chrome/app/chrome_main.cc File chrome/app/chrome_main.cc (right): http://codereview.chromium.org/7826016/diff/1/chrome/app/chrome_main.cc#newcode589 chrome/app/chrome_main.cc:589: DCHECK(ObjcEvilDoers::ZombieEnable(true, 1000)); shess wrote: > This means that only ...
9 years, 3 months ago (2011-09-01 22:00:12 UTC) #2
Scott Hess - ex-Googler
On 2011/09/01 22:00:12, Mark Mentovai wrote: > http://codereview.chromium.org/7826016/diff/1/chrome/app/chrome_main.cc > File chrome/app/chrome_main.cc (right): > > http://codereview.chromium.org/7826016/diff/1/chrome/app/chrome_main.cc#newcode589 ...
9 years, 3 months ago (2011-09-01 22:03:09 UTC) #3
Mark Mentovai
LGTM http://codereview.chromium.org/7826016/diff/1/chrome/app/chrome_main.cc File chrome/app/chrome_main.cc (right): http://codereview.chromium.org/7826016/diff/1/chrome/app/chrome_main.cc#newcode589 chrome/app/chrome_main.cc:589: DCHECK(ObjcEvilDoers::ZombieEnable(true, 1000)); OK, sounds reasonable for this to ...
9 years, 3 months ago (2011-09-01 22:07:26 UTC) #4
Scott Hess - ex-Googler
http://codereview.chromium.org/7826016/diff/1/chrome/app/chrome_main.cc File chrome/app/chrome_main.cc (right): http://codereview.chromium.org/7826016/diff/1/chrome/app/chrome_main.cc#newcode589 chrome/app/chrome_main.cc:589: DCHECK(ObjcEvilDoers::ZombieEnable(true, 1000)); On 2011/09/01 22:07:26, Mark Mentovai wrote: > ...
9 years, 3 months ago (2011-09-01 23:31:57 UTC) #5
Mark Mentovai
LGTM http://codereview.chromium.org/7826016/diff/1/chrome/app/chrome_main.cc File chrome/app/chrome_main.cc (right): http://codereview.chromium.org/7826016/diff/1/chrome/app/chrome_main.cc#newcode589 chrome/app/chrome_main.cc:589: DCHECK(ObjcEvilDoers::ZombieEnable(true, 1000)); shess wrote: > On 2011/09/01 22:07:26, ...
9 years, 3 months ago (2011-09-01 23:55:23 UTC) #6
Scott Hess - ex-Googler
Since I got a LGTM, I think I'll combine rearrange-the-startup with remove-the-DCHECK? I have a ...
9 years, 3 months ago (2011-09-02 00:03:21 UTC) #7
Mark Mentovai
Yeah, that’s fine. I’d probably like to look at the code that does go in, ...
9 years, 3 months ago (2011-09-02 00:05:53 UTC) #8
Scott Hess - ex-Googler
On 2011/09/02 00:03:21, shess wrote: > Since I got a LGTM, I think I'll combine ...
9 years, 3 months ago (2011-09-02 17:01:15 UTC) #9
Mark Mentovai
I guess you could put it in chrome/app, but then I’d want it in chrome/app/mac ...
9 years, 3 months ago (2011-09-02 17:06:22 UTC) #10
Scott Hess - ex-Googler
On 2011/09/02 17:06:22, Mark Mentovai wrote: > I guess you could put it in chrome/app, ...
9 years, 3 months ago (2011-09-02 19:50:56 UTC) #11
Mark Mentovai
"Someone."
9 years, 3 months ago (2011-09-02 19:54:35 UTC) #12
Scott Hess - ex-Googler
On 2011/09/02 19:50:56, shess wrote: > On 2011/09/02 17:06:22, Mark Mentovai wrote: > > I ...
9 years, 3 months ago (2011-09-02 20:05:42 UTC) #13
Scott Hess - ex-Googler
On 2011/09/02 20:05:42, shess wrote: > On 2011/09/02 19:50:56, shess wrote: > > On 2011/09/02 ...
9 years, 3 months ago (2011-09-02 22:57:50 UTC) #14
Mark Mentovai
9 years, 3 months ago (2011-09-03 16:33:27 UTC) #15
LGTM

http://codereview.chromium.org/7826016/diff/8001/chrome/common/mac/DEPS
File chrome/common/mac/DEPS (right):

http://codereview.chromium.org/7826016/diff/8001/chrome/common/mac/DEPS#newcode6
chrome/common/mac/DEPS:6: "+third_party/mach_override",
Put a blank line before this so that it’s clear that your comment doesn’t apply
to mach_override.

Powered by Google App Engine
This is Rietveld 408576698