summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main_mac.mm
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-27 19:45:23 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-27 19:45:23 +0000
commit60742f122a4dabbcd946dfd7c1dc214366075df7 (patch)
treea11141f4479ed645fd40cac20f4b831ce2251831 /chrome/browser/browser_main_mac.mm
parent80dc361f9f0d3687243aae6f54ef22a1cba37639 (diff)
downloadchromium_src-60742f122a4dabbcd946dfd7c1dc214366075df7.zip
chromium_src-60742f122a4dabbcd946dfd7c1dc214366075df7.tar.gz
chromium_src-60742f122a4dabbcd946dfd7c1dc214366075df7.tar.bz2
Update a suppression (and add a comment) for crbug.com/20504.
BUG=20504 TEST=greener valgrind TBR=evan@chromium.org,mark@chromium.org Review URL: http://codereview.chromium.org/3020036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53823 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_main_mac.mm')
-rw-r--r--chrome/browser/browser_main_mac.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/browser_main_mac.mm b/chrome/browser/browser_main_mac.mm
index 0fd8fb9..49dc478 100644
--- a/chrome/browser/browser_main_mac.mm
+++ b/chrome/browser/browser_main_mac.mm
@@ -102,6 +102,8 @@ class BrowserMainPartsMac : public BrowserMainPartsPosix {
scoped_nsobject<NSNib>
nib([[NSNib alloc] initWithNibNamed:@"MainMenu"
bundle:mac_util::MainAppBundle()]);
+ // TODO(viettrungluu): crbug.com/20504 - This currently leaks, so if you
+ // change this, you'll probably need to change the Valgrind suppression.
[nib instantiateNibWithOwner:NSApp topLevelObjects:nil];
// Make sure the app controller has been created.
DCHECK([NSApp delegate]);