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

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

Issue 402066: Moved a whole pile of unittests over to CocoaTest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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
Index: chrome/browser/cocoa/about_window_controller.mm
===================================================================
--- chrome/browser/cocoa/about_window_controller.mm (revision 32421)
+++ chrome/browser/cocoa/about_window_controller.mm (working copy)
@@ -72,9 +72,6 @@
@end // @interface AboutWindowController(Private)
-const NSString* const kUserClosedAboutNotification =
- @"UserClosedAboutNotification";
-
@implementation AboutWindowController
- (id)initWithProfile:(Profile*)profile {
@@ -194,8 +191,7 @@
}
- (void)windowWillClose:(NSNotification*)notification {
- NSNotificationCenter* center = [NSNotificationCenter defaultCenter];
- [center postNotificationName:kUserClosedAboutNotification object:self];
+ [self autorelease];
}
- (void)setUpdateThrobberMessage:(NSString*)message {
« no previous file with comments | « chrome/browser/cocoa/about_window_controller.h ('k') | chrome/browser/cocoa/about_window_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698