summaryrefslogtreecommitdiff
path: root/chromium-norar.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-01-11 07:17:39 +0000
committerCoprDistGit <infra@openeuler.org>2025-01-11 07:17:39 +0000
commit644c757ffb94ff2f452976228fee9bbdfba762fa (patch)
tree205f3dbf342b9ae0c59e71ddbc9394b2dd415951 /chromium-norar.patch
parente9abc6c72d6b470c59f4c9e9b5af6dfe5d1a75b2 (diff)
automatic import of chromium
Diffstat (limited to 'chromium-norar.patch')
-rw-r--r--chromium-norar.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/chromium-norar.patch b/chromium-norar.patch
new file mode 100644
index 0000000..fe384ce
--- /dev/null
+++ b/chromium-norar.patch
@@ -0,0 +1,12 @@
+diff -up chromium-122.0.6261.29/chrome/browser/safe_browsing/download_protection/file_analyzer.cc.nounrar chromium-122.0.6261.29/chrome/browser/safe_browsing/download_protection/file_analyzer.cc
+--- chromium-122.0.6261.29/chrome/browser/safe_browsing/download_protection/file_analyzer.cc.nounrar 2024-02-07 19:49:25.000000000 +0100
++++ chromium-122.0.6261.29/chrome/browser/safe_browsing/download_protection/file_analyzer.cc 2024-02-11 18:55:29.964450604 +0100
+@@ -79,8 +79,6 @@ void FileAnalyzer::Start(const base::Fil
+
+ if (inspection_type == DownloadFileType::ZIP) {
+ StartExtractZipFeatures();
+- } else if (inspection_type == DownloadFileType::RAR) {
+- StartExtractRarFeatures();
+ #if BUILDFLAG(IS_MAC)
+ } else if (inspection_type == DownloadFileType::DMG) {
+ StartExtractDmgFeatures();