Commit 7298aa54 authored by jackhou@chromium.org's avatar jackhou@chromium.org

[Mac] Use -close instead of -performClose.

This ensures the window can close when it has sheets attached, e.g. the "Open File" dialog.

BUG=362444

Review URL: https://codereview.chromium.org/389453003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282600 0039d316-1c4b-4281-b951-d872f2087c98
parent 1f0ca01e
......@@ -607,7 +607,7 @@ void NativeAppWindowCocoa::Hide() {
}
void NativeAppWindowCocoa::Close() {
[window() performClose:nil];
[window() close];
}
void NativeAppWindowCocoa::Activate() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment