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/login_view.cc | |
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/login_view.cc')
-rw-r--r-- | chrome/browser/views/login_view.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/views/login_view.cc b/chrome/browser/views/login_view.cc index cab7ba2..df7f1b4 100644 --- a/chrome/browser/views/login_view.cc +++ b/chrome/browser/views/login_view.cc @@ -2,11 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include <string> - #include "chrome/browser/views/login_view.h" +#include <string> + #include "app/l10n_util.h" +#include "base/compiler_specific.h" #include "base/message_loop.h" #include "grit/generated_resources.h" #include "views/grid_layout.h" @@ -31,7 +32,7 @@ LoginView::LoginView(const std::wstring& explanation) password_label_(new Label( l10n_util::GetString(IDS_LOGIN_DIALOG_PASSWORD_FIELD))), message_label_(new Label(explanation)), - focus_grabber_factory_(this), + ALLOW_THIS_IN_INITIALIZER_LIST(focus_grabber_factory_(this)), login_model_(NULL) { message_label_->SetMultiLine(true); message_label_->SetHorizontalAlignment(Label::ALIGN_LEFT); |