chore: bump chromium to 92.0.4511.0 (master) (#29173)

This commit is contained in:
electron-roller[bot] 2021-05-19 16:15:47 -07:00 committed by GitHub
parent d79ebc6dc6
commit 039f3d5cd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
80 changed files with 426 additions and 322 deletions

View file

@ -31,8 +31,8 @@ void SavePageHandler::OnDownloadCreated(content::DownloadManager* manager,
bool SavePageHandler::Handle(const base::FilePath& full_path,
const content::SavePageType& save_type) {
auto* download_manager = content::BrowserContext::GetDownloadManager(
web_contents_->GetBrowserContext());
auto* download_manager =
web_contents_->GetBrowserContext()->GetDownloadManager();
download_manager->AddObserver(this);
// Chromium will create a 'foo_files' directory under the directory of saving
// page 'foo.html' for holding other resource files of 'foo.html'.