| Index: chrome/browser/ui/cocoa/infobars/infobar_cocoa.mm
|
| ===================================================================
|
| --- chrome/browser/ui/cocoa/infobars/infobar_cocoa.mm (revision 226624)
|
| +++ chrome/browser/ui/cocoa/infobars/infobar_cocoa.mm (working copy)
|
| @@ -11,17 +11,13 @@
|
| const int InfoBar::kMaximumArrowTargetHalfWidth = 14;
|
| const int InfoBar::kDefaultBarTargetHeight = 36;
|
|
|
| -InfoBarCocoa::InfoBarCocoa(InfoBarService* owner, InfoBarDelegate* delegate)
|
| - : InfoBar(owner, delegate) {
|
| +InfoBarCocoa::InfoBarCocoa(scoped_ptr<InfoBarDelegate> delegate)
|
| + : InfoBar(delegate.Pass()) {
|
| }
|
|
|
| InfoBarCocoa::~InfoBarCocoa() {
|
| }
|
|
|
| -void InfoBarCocoa::RemoveSelfCocoa() {
|
| - RemoveSelf();
|
| -}
|
| -
|
| InfoBarService* InfoBarCocoa::OwnerCocoa() {
|
| return owner();
|
| }
|
|
|