From e292ba0099ecff2e3e31fcb6cac28ac8e243c43d Mon Sep 17 00:00:00 2001 From: "Carlos J. Puga Medina" Date: Fri, 17 Mar 2017 23:42:52 +0000 Subject: www/chromium: update to 57.0.2987.110 MFH: 2017Q1 Security: https://vuxml.freebsd.org/freebsd/a505d397-0758-11e7-8d8b-e8e0b747a45a.html --- .../files/patch-chrome_browser_download_download__commands.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'www/chromium/files/patch-chrome_browser_download_download__commands.cc') diff --git a/www/chromium/files/patch-chrome_browser_download_download__commands.cc b/www/chromium/files/patch-chrome_browser_download_download__commands.cc index 5f622bf39afd..f323903fbd9b 100644 --- a/www/chromium/files/patch-chrome_browser_download_download__commands.cc +++ b/www/chromium/files/patch-chrome_browser_download_download__commands.cc @@ -1,6 +1,6 @@ ---- chrome/browser/download/download_commands.cc.orig 2017-01-26 00:49:08 UTC +--- chrome/browser/download/download_commands.cc.orig 2017-03-09 20:04:28 UTC +++ chrome/browser/download/download_commands.cc -@@ -217,7 +217,7 @@ bool DownloadCommands::IsCommandChecked( +@@ -218,7 +218,7 @@ bool DownloadCommands::IsCommandChecked( return download_item_->GetOpenWhenComplete() || download_crx_util::IsExtensionDownload(*download_item_); case ALWAYS_OPEN_TYPE: @@ -9,7 +9,7 @@ if (CanOpenPdfInSystemViewer()) { DownloadPrefs* prefs = DownloadPrefs::FromBrowserContext( download_item_->GetBrowserContext()); -@@ -261,7 +261,7 @@ void DownloadCommands::ExecuteCommand(Co +@@ -262,7 +262,7 @@ void DownloadCommands::ExecuteCommand(Co bool is_checked = IsCommandChecked(ALWAYS_OPEN_TYPE); DownloadPrefs* prefs = DownloadPrefs::FromBrowserContext( download_item_->GetBrowserContext()); @@ -18,7 +18,7 @@ if (CanOpenPdfInSystemViewer()) { prefs->SetShouldOpenPdfInSystemReader(!is_checked); DownloadItemModel(download_item_) -@@ -374,7 +374,7 @@ Browser* DownloadCommands::GetBrowser() +@@ -375,7 +375,7 @@ Browser* DownloadCommands::GetBrowser() return browser_displayer.browser(); } @@ -27,7 +27,7 @@ bool DownloadCommands::IsDownloadPdf() const { base::FilePath path = download_item_->GetTargetFilePath(); return path.MatchesExtension(FILE_PATH_LITERAL(".pdf")); -@@ -391,7 +391,7 @@ bool DownloadCommands::CanOpenPdfInSyste +@@ -392,7 +392,7 @@ bool DownloadCommands::CanOpenPdfInSyste return IsDownloadPdf() && (IsAdobeReaderDefaultPDFViewer() ? is_adobe_pdf_reader_up_to_date : true); -- cgit v1.2.3