summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-23 01:18:13 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-23 01:18:13 +0000
commitf6314009810a5ee6c606328c41c8ff4e1dacd05e (patch)
tree3c530eb3c209f23e369f0a8f35849a94e502cbc8 /base
parentec85e6880806202737a4d32c94817f0ecad4ca8b (diff)
downloadchromium_src-f6314009810a5ee6c606328c41c8ff4e1dacd05e.zip
chromium_src-f6314009810a5ee6c606328c41c8ff4e1dacd05e.tar.gz
chromium_src-f6314009810a5ee6c606328c41c8ff4e1dacd05e.tar.bz2
Fix problem with bookmark bar introduced by window sharing; pref
change needs to change all open windows with the same preferences, not just the current one). Improve unit testing. Limit bookmark menu size width (1st pass). Cleanup/delete of code which no longer does much. Review URL: http://codereview.chromium.org/79068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14282 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/test_suite.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/base/test_suite.h b/base/test_suite.h
index 5424925..79fe5cf 100644
--- a/base/test_suite.h
+++ b/base/test_suite.h
@@ -61,7 +61,13 @@ class TestSuite {
}
int result = RUN_ALL_TESTS();
+ // This MUST happen before Shutdown() since Shutdown() tears down
+ // objects (such as NotificationService::current()) that Cocoa
+ // objects use to remove themselves as observers.
+ scoped_pool.Recycle();
+
Shutdown();
+
return result;
}