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 1d6ec99dba5e9cdf1d139b891add11dbf221a571..42aa86d919ddd518b0fd14254f14e149bb26640c 100644 |
--- a/content/shell/shell_download_manager_delegate.cc |
+++ b/content/shell/shell_download_manager_delegate.cc |
@@ -72,7 +72,7 @@ void ShellDownloadManagerDelegate::GenerateFilename( |
DownloadStateInfo state, |
const FilePath& generated_name) { |
if (state.suggested_path.empty()) { |
- state.suggested_path = download_manager_->browser_context()->GetPath(). |
+ state.suggested_path = download_manager_->BrowserContext()->GetPath(). |
Append(FILE_PATH_LITERAL("Downloads")); |
if (!file_util::PathExists(state.suggested_path)) |
file_util::CreateDirectory(state.suggested_path); |