Index: chrome/browser/ui/cocoa/infobars/infobar_cocoa.h |
=================================================================== |
--- chrome/browser/ui/cocoa/infobars/infobar_cocoa.h (revision 238220) |
+++ chrome/browser/ui/cocoa/infobars/infobar_cocoa.h (working copy) |
@@ -15,7 +15,7 @@ |
// actually in InfoBarController. |
class InfoBarCocoa : public InfoBar { |
public: |
- InfoBarCocoa(InfoBarService* owner, InfoBarDelegate* delegate); |
+ explicit InfoBarCocoa(scoped_ptr<InfoBarDelegate> delegate); |
virtual ~InfoBarCocoa(); |
@@ -26,7 +26,6 @@ |
} |
// These functions allow access to protected InfoBar functions. |
- void RemoveSelfCocoa(); |
InfoBarService* OwnerCocoa(); |
base::WeakPtr<InfoBarCocoa> GetWeakPtr(); |