summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-19 17:23:06 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-19 17:23:06 +0000
commita45a0ed30a53ec519cbcdbdea63d2bc772f62b52 (patch)
treeec8306036409af53abbbafc3128a9e62ab51613a /chrome/browser
parentf0b34eb57afd73e5851d1fbe02351102ee87bfc0 (diff)
downloadchromium_src-a45a0ed30a53ec519cbcdbdea63d2bc772f62b52.zip
chromium_src-a45a0ed30a53ec519cbcdbdea63d2bc772f62b52.tar.gz
chromium_src-a45a0ed30a53ec519cbcdbdea63d2bc772f62b52.tar.bz2
Fix compile error.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18822 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/cocoa/preferences_window_controller.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/preferences_window_controller.mm b/chrome/browser/cocoa/preferences_window_controller.mm
index 8e14a50..97cf1f8 100644
--- a/chrome/browser/cocoa/preferences_window_controller.mm
+++ b/chrome/browser/cocoa/preferences_window_controller.mm
@@ -208,7 +208,7 @@ class PrefObserverBridge : public NotificationObserver {
// automatically abandon/cancel any in-progress edits in text fields, we don't
// have to do anything special.
- (void)cancel:(id)sender {
- [window performClose:self];
+ [[self window] performClose:self];
}
// Record the user performed a certain action and save the preferences.