summaryrefslogtreecommitdiffstats
path: root/chromium-ungoogled/build/patches/chromium-110-InProgressDownloadManager-include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'chromium-ungoogled/build/patches/chromium-110-InProgressDownloadManager-include.patch')
-rw-r--r--chromium-ungoogled/build/patches/chromium-110-InProgressDownloadManager-include.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/chromium-ungoogled/build/patches/chromium-110-InProgressDownloadManager-include.patch b/chromium-ungoogled/build/patches/chromium-110-InProgressDownloadManager-include.patch
new file mode 100644
index 00000000..adc51dbb
--- /dev/null
+++ b/chromium-ungoogled/build/patches/chromium-110-InProgressDownloadManager-include.patch
@@ -0,0 +1,30 @@
+From 63027c62eaa1b6c5b0d2762a511f1611b15d3728 Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann <stha09@googlemail.com>
+Date: Mon, 19 Dec 2022 13:56:17 +0000
+Subject: [PATCH] libstdc++: fix incomplete type of download::InProgressDownloadManager
+
+Destructor of std::unique_ptr in libstdc++ uses sizeof() which
+requires full definition of download::InProgressDownloadManager
+for return type of content::BrowserContext::
+RetrieveInProgressDownloadManager().
+
+Bug: 957519
+Change-Id: If99aa8d52238bacb1cb559a300e14ed3a05b7297
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4111526
+Reviewed-by: Bo Liu <boliu@chromium.org>
+Commit-Queue: Stephan Hartmann <stha09@googlemail.com>
+Cr-Commit-Position: refs/heads/main@{#1084924}
+---
+
+diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
+index 6180969..22e9dbb 100644
+--- a/content/browser/browser_context.cc
++++ b/content/browser/browser_context.cc
+@@ -30,6 +30,7 @@
+ #include "base/unguessable_token.h"
+ #include "build/build_config.h"
+ #include "build/chromeos_buildflags.h"
++#include "components/download/public/common/in_progress_download_manager.h"
+ #include "components/services/storage/privileged/mojom/indexed_db_control.mojom.h"
+ #include "content/browser/blob_storage/chrome_blob_storage_context.h"
+ #include "content/browser/browser_context_impl.h"