summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/preferences_window_controller.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/preferences_window_controller.mm')
-rw-r--r--chrome/browser/cocoa/preferences_window_controller.mm8
1 files changed, 1 insertions, 7 deletions
diff --git a/chrome/browser/cocoa/preferences_window_controller.mm b/chrome/browser/cocoa/preferences_window_controller.mm
index 7bb62c8..2137d2d 100644
--- a/chrome/browser/cocoa/preferences_window_controller.mm
+++ b/chrome/browser/cocoa/preferences_window_controller.mm
@@ -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 @@ const int kDisabledIndex = 1;
// 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 {