diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-13 17:31:10 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-13 17:31:10 +0000 |
commit | 65f73a3a996bdbaa167e38704df092aa39b53d3a (patch) | |
tree | f35068757a31bd1efe03996c8a58635dc7edb588 /chrome/browser/views/infobars | |
parent | 3c39333a11a67ffe72a8989be898dca8421d573b (diff) | |
download | chromium_src-65f73a3a996bdbaa167e38704df092aa39b53d3a.zip chromium_src-65f73a3a996bdbaa167e38704df092aa39b53d3a.tar.gz chromium_src-65f73a3a996bdbaa167e38704df092aa39b53d3a.tar.bz2 |
Remove even more ATL dependencies.
Review URL: http://codereview.chromium.org/115309
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15965 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/infobars')
-rw-r--r-- | chrome/browser/views/infobars/infobars.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/views/infobars/infobars.cc b/chrome/browser/views/infobars/infobars.cc index 6749dec..f14aded 100644 --- a/chrome/browser/views/infobars/infobars.cc +++ b/chrome/browser/views/infobars/infobars.cc @@ -84,8 +84,9 @@ class InfoBarBackground : public views::Background { InfoBar::InfoBar(InfoBarDelegate* delegate) : delegate_(delegate), - close_button_(new views::ImageButton(this)), - delete_factory_(this) { + ALLOW_THIS_IN_INITIALIZER_LIST( + close_button_(new views::ImageButton(this))), + ALLOW_THIS_IN_INITIALIZER_LIST(delete_factory_(this)) { // We delete ourselves when we're removed from the view hierarchy. SetParentOwned(false); |