Repect old logic in windowWillUseStandardFrame
This commit is contained in:
parent
78468098c5
commit
411da169ac
1 changed files with 0 additions and 2 deletions
|
@ -213,8 +213,6 @@ bool ScopedDisableResize::disable_resize_ = false;
|
|||
// Get preferred width from observers. Usually the page width.
|
||||
int preferred_width = 0;
|
||||
shell_->NotifyWindowRequestPreferredWith(&preferred_width);
|
||||
if (preferred_width <= 0)
|
||||
return frame;
|
||||
|
||||
// Never shrink from the current size on zoom.
|
||||
NSRect window_frame = [window frame];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue