diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-10 00:03:44 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-10 00:03:44 +0000 |
commit | 661feb7cadf6362ddd34f85b887ec8f4d24eeee9 (patch) | |
tree | f1e45d1eda62cfeeb172d660ff36c76fd629c3a6 /chrome/browser/views | |
parent | f6e1eed9d88358d87e1c0d41eaf070d474afd693 (diff) | |
download | chromium_src-661feb7cadf6362ddd34f85b887ec8f4d24eeee9.zip chromium_src-661feb7cadf6362ddd34f85b887ec8f4d24eeee9.tar.gz chromium_src-661feb7cadf6362ddd34f85b887ec8f4d24eeee9.tar.bz2 |
Fix compile bustage by using macro
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18000 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
-rw-r--r-- | chrome/browser/views/tabs/tab.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/tabs/tab.cc b/chrome/browser/views/tabs/tab.cc index 8e9cf2d..14d416c 100644 --- a/chrome/browser/views/tabs/tab.cc +++ b/chrome/browser/views/tabs/tab.cc @@ -9,6 +9,7 @@ #include "app/gfx/path.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" +#include "base/compiler_specific.h" #include "base/gfx/size.h" #include "grit/generated_resources.h" #include "views/controls/menu/simple_menu_model.h" @@ -25,7 +26,7 @@ class Tab::TabContextMenuContents : public views::SimpleMenuModel, public views::SimpleMenuModel::Delegate { public: explicit TabContextMenuContents(Tab* tab) - : SimpleMenuModel(this), + : ALLOW_THIS_IN_INITIALIZER_LIST(SimpleMenuModel(this)), tab_(tab), last_command_(TabStripModel::CommandFirst) { Build(); |