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

Unified Diff: chrome/browser/cocoa/preferences_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/preferences_window_controller.mm
===================================================================
--- chrome/browser/cocoa/preferences_window_controller.mm (revision 32421)
+++ chrome/browser/cocoa/preferences_window_controller.mm (working copy)
@@ -46,9 +46,6 @@
#import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h"
#import "third_party/GTM/AppKit/GTMNSAnimation+Duration.h"
-NSString* const kUserDoneEditingPrefsNotification =
- @"kUserDoneEditingPrefsNotification";
-
namespace {
std::wstring GetNewTabUIURLString() {
@@ -1621,10 +1618,7 @@
// We've hit a recalcitrant field editor, force it to go away.
[[self window] endEditingFor:nil];
}
-
- [[NSNotificationCenter defaultCenter]
- postNotificationName:kUserDoneEditingPrefsNotification
- object:self];
+ [self autorelease];
}
- (void)controlTextDidEndEditing:(NSNotification*)notification {
« no previous file with comments | « chrome/browser/cocoa/preferences_window_controller.h ('k') | chrome/browser/cocoa/preferences_window_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698