| Index: chrome/browser/ui/cocoa/infobars/translate_infobar_base.mm
|
| diff --git a/chrome/browser/ui/cocoa/infobars/translate_infobar_base.mm b/chrome/browser/ui/cocoa/infobars/translate_infobar_base.mm
|
| index 584c68ebed21248b27a5e2373c525ea03759e117..cef8922a99346c86f774063d5656190433dc4343 100644
|
| --- a/chrome/browser/ui/cocoa/infobars/translate_infobar_base.mm
|
| +++ b/chrome/browser/ui/cocoa/infobars/translate_infobar_base.mm
|
| @@ -500,7 +500,7 @@ InfoBar* TranslateInfoBarDelegate::CreateInfoBar(InfoBarTabHelper* owner) {
|
| }
|
|
|
| // Called when "Translate" button is clicked.
|
| -- (IBAction)ok:(id)sender {
|
| +- (void)ok:(id)sender {
|
| if (![self isOwned])
|
| return;
|
| TranslateInfoBarDelegate* delegate = [self delegate];
|
| @@ -512,7 +512,7 @@ InfoBar* TranslateInfoBarDelegate::CreateInfoBar(InfoBarTabHelper* owner) {
|
| }
|
|
|
| // Called when someone clicks on the "Nope" button.
|
| -- (IBAction)cancel:(id)sender {
|
| +- (void)cancel:(id)sender {
|
| if (![self isOwned])
|
| return;
|
| TranslateInfoBarDelegate* delegate = [self delegate];
|
|
|