Index: content/shell/shell_download_manager_delegate.cc |
diff --git a/content/shell/shell_download_manager_delegate.cc b/content/shell/shell_download_manager_delegate.cc |
index 0771754aca4740b6578104cada115a55c5f41130..55c36df93101207a45d7a3c84577ee94a3a4a705 100644 |
--- a/content/shell/shell_download_manager_delegate.cc |
+++ b/content/shell/shell_download_manager_delegate.cc |
@@ -135,7 +135,7 @@ void ShellDownloadManagerDelegate::ChooseDownloadPath( |
OPENFILENAME save_as; |
ZeroMemory(&save_as, sizeof(save_as)); |
save_as.lStructSize = sizeof(OPENFILENAME); |
- save_as.hwndOwner = item->GetWebContents()->GetNativeView(); |
+ save_as.hwndOwner = item->GetWebContents()->GetView()->GetNativeView(); |
save_as.lpstrFile = file_name; |
save_as.nMaxFile = arraysize(file_name); |