summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/user_data_dir_dialog.cc
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/user_data_dir_dialog.cc
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/user_data_dir_dialog.cc')
-rw-r--r--chrome/browser/views/user_data_dir_dialog.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/user_data_dir_dialog.cc b/chrome/browser/views/user_data_dir_dialog.cc
index c6b17f3..70f9924 100644
--- a/chrome/browser/views/user_data_dir_dialog.cc
+++ b/chrome/browser/views/user_data_dir_dialog.cc
@@ -22,7 +22,8 @@ std::wstring UserDataDirDialog::RunUserDataDirDialog(
}
UserDataDirDialog::UserDataDirDialog(const std::wstring& user_data_dir)
- : select_file_dialog_(SelectFileDialog::Create(this)),
+ : ALLOW_THIS_IN_INITIALIZER_LIST(
+ select_file_dialog_(SelectFileDialog::Create(this))),
is_blocking_(true) {
std::wstring message_text = l10n_util::GetStringF(
IDS_CANT_WRITE_USER_DIRECTORY_SUMMARY, user_data_dir);