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 01189144a1a21655e9164c37a31b61dfa4054617..05232f37c25a5b05a0805faa4874867cbe25c0ef 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); |