Index: ui/shell_dialogs/select_file_dialog_win.cc |
diff --git a/ui/shell_dialogs/select_file_dialog_win.cc b/ui/shell_dialogs/select_file_dialog_win.cc |
index 46804d2ac696ba305b23bc68cce4e4f5ecd9697e..411b8bd5b4e880c8ac6e5c4c8dd3f00456949254 100644 |
--- a/ui/shell_dialogs/select_file_dialog_win.cc |
+++ b/ui/shell_dialogs/select_file_dialog_win.cc |
@@ -549,7 +549,7 @@ bool SelectFileDialogImpl::RunSelectFolderDialog(const std::wstring& title, |
ZeroMemory(&out_dir_buffer, sizeof(out_dir_buffer)); |
out_dir_buffer.uType = STRRET_WSTR; |
base::win::ScopedComPtr<IShellFolder> shell_folder; |
- if (SHGetDesktopFolder(shell_folder.Receive()) == NOERROR) { |
+ if (SHGetDesktopFolder(shell_folder.GetAddressOf()) == NOERROR) { |
HRESULT hr = shell_folder->GetDisplayNameOf(list, SHGDN_FORPARSING, |
&out_dir_buffer); |
if (SUCCEEDED(hr) && out_dir_buffer.uType == STRRET_WSTR) { |