summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/user_data_dir_dialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/user_data_dir_dialog.cc')
-rw-r--r--chrome/browser/views/user_data_dir_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/user_data_dir_dialog.cc b/chrome/browser/views/user_data_dir_dialog.cc
index 90460fb..01d181a 100644
--- a/chrome/browser/views/user_data_dir_dialog.cc
+++ b/chrome/browser/views/user_data_dir_dialog.cc
@@ -70,7 +70,7 @@ bool UserDataDirDialog::Accept() {
std::wstring dialog_title = l10n_util::GetString(
IDS_CANT_WRITE_USER_DIRECTORY_CHOOSE_DIRECTORY_BUTTON);
HWND owning_hwnd =
- GetAncestor(message_box_view_->GetViewContainer()->GetHWND(), GA_ROOT);
+ GetAncestor(message_box_view_->GetContainer()->GetHWND(), GA_ROOT);
select_file_dialog_->SelectFile(SelectFileDialog::SELECT_FOLDER,
dialog_title, std::wstring(), owning_hwnd,
NULL);