diff options
Diffstat (limited to 'chrome/browser/ui/gtk/infobars/translate_message_infobar_gtk.h')
-rw-r--r-- | chrome/browser/ui/gtk/infobars/translate_message_infobar_gtk.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/ui/gtk/infobars/translate_message_infobar_gtk.h b/chrome/browser/ui/gtk/infobars/translate_message_infobar_gtk.h index adb38ec..bd08697 100644 --- a/chrome/browser/ui/gtk/infobars/translate_message_infobar_gtk.h +++ b/chrome/browser/ui/gtk/infobars/translate_message_infobar_gtk.h @@ -12,14 +12,14 @@ class TranslateInfoBarDelegate; class TranslateMessageInfoBar : public TranslateInfoBarBase { public: - TranslateMessageInfoBar(InfoBarService* owner, - TranslateInfoBarDelegate* delegate); + explicit TranslateMessageInfoBar( + scoped_ptr<TranslateInfoBarDelegate> delegate); private: virtual ~TranslateMessageInfoBar(); // TranslateInfoBarBase: - virtual void InitWidgets() OVERRIDE; + virtual void PlatformSpecificSetOwner() OVERRIDE; CHROMEGTK_CALLBACK_0(TranslateMessageInfoBar, void, OnButtonPressed); |