| Index: chrome/browser/ui/cocoa/constrained_window/constrained_window_web_dialog_sheet.mm
|
| diff --git a/chrome/browser/ui/cocoa/constrained_window/constrained_window_web_dialog_sheet.mm b/chrome/browser/ui/cocoa/constrained_window/constrained_window_web_dialog_sheet.mm
|
| index 6e7d3f191fc0c265e3014b5379114c18de225a10..3c71f00e0a19063454872beb63e876e6bea5a0f5 100644
|
| --- a/chrome/browser/ui/cocoa/constrained_window/constrained_window_web_dialog_sheet.mm
|
| +++ b/chrome/browser/ui/cocoa/constrained_window/constrained_window_web_dialog_sheet.mm
|
| @@ -27,14 +27,4 @@
|
| [super updateSheetPosition];
|
| }
|
|
|
| -- (void)resizeWithNewSize:(NSSize)size {
|
| - [customWindow_ setContentSize:size];
|
| -
|
| - // self's updateSheetPosition() sets |customWindow_|'s contentSize to a
|
| - // fixed dialog size. Here, we want to resize to |size| instead. Use
|
| - // super rather than self to bypass the setContentSize() call for the fixed
|
| - // size.
|
| - [super updateSheetPosition];
|
| -}
|
| -
|
| @end
|
|
|