Mac: Fix sheet positioning on popup windows.
Popup windows don't have bookmark bars, so check for supportsBookmarkBar before trying to position the sheet next to the bookmark bar. Fix incorrect use of defaultSheetRect.size.height, it has no meaning according to AppKit docs. BUG=436959 Review URL: https://codereview.chromium.org/836173002 Cr-Commit-Position: refs/heads/master@{#310187}
Showing
Please register or sign in to comment