summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/infobars
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-13 17:31:10 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-13 17:31:10 +0000
commit65f73a3a996bdbaa167e38704df092aa39b53d3a (patch)
treef35068757a31bd1efe03996c8a58635dc7edb588 /chrome/browser/views/infobars
parent3c39333a11a67ffe72a8989be898dca8421d573b (diff)
downloadchromium_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.cc5
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);