| Index: chrome/browser/ui/cocoa/passwords/autosignin_prompt_view_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/passwords/autosignin_prompt_view_controller.mm b/chrome/browser/ui/cocoa/passwords/autosignin_prompt_view_controller.mm
|
| index 6fdf43cf7b2b5eb0615378670aaad6c4aed44737..5f1067897a0ff6428ff6c0b8bb529d679b003508 100644
|
| --- a/chrome/browser/ui/cocoa/passwords/autosignin_prompt_view_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/passwords/autosignin_prompt_view_controller.mm
|
| @@ -126,14 +126,6 @@ NSButton* BiggerDialogButton(NSString* title) {
|
| [_turnOffButton setAction:@selector(onTurnOffClicked:)];
|
| [view addSubview:_turnOffButton];
|
|
|
| - // Invisible button to handle ESC.
|
| - base::scoped_nsobject<NSButton> cancel_button(
|
| - [[NSButton alloc] initWithFrame:NSZeroRect]);
|
| - [cancel_button setTarget:self];
|
| - [cancel_button setAction:@selector(onEscClicked:)];
|
| - [cancel_button setKeyEquivalent:kKeyEquivalentEscape];
|
| - [view addSubview:cancel_button];
|
| -
|
| // Layout.
|
| // Compute the bubble width using the title and the buttons.
|
| const CGFloat contentWidth = kDesiredBubbleWidth;
|
|
|