summaryrefslogtreecommitdiff
path: root/chromium-120-make_unique-struct.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-09-25 09:55:25 +0000
committerCoprDistGit <infra@openeuler.org>2024-09-25 09:55:25 +0000
commit8fe37c454512853c40108c2c0d19c2d39d15af19 (patch)
treeaefee73b38da5be91c6d7b3a2e1ba13848f41938 /chromium-120-make_unique-struct.patch
parent0dc651d979e28d3c6b3e380b056741946893de1d (diff)
automatic import of chromiumopeneuler20.03
Diffstat (limited to 'chromium-120-make_unique-struct.patch')
-rw-r--r--chromium-120-make_unique-struct.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/chromium-120-make_unique-struct.patch b/chromium-120-make_unique-struct.patch
new file mode 100644
index 0000000..c848f46
--- /dev/null
+++ b/chromium-120-make_unique-struct.patch
@@ -0,0 +1,12 @@
+diff --git a/service_worker_global_scope.h b/service_worker_global_scope.h.new
+index ac4cac0..8c7d744 100644
+--- a/third_party/blink/renderer/modules/service_worker/service_worker_global_scope.h
++++ b/third_party/blink/renderer/modules/service_worker/service_worker_global_scope.h
+@@ -777,6 +777,7 @@ class MODULES_EXPORT ServiceWorkerGlobalScope final
+ blink::BlinkStorageKey storage_key_;
+
+ struct RaceNetworkRequestInfo {
++ RaceNetworkRequestInfo(int _fetch_event_id, String _token, mojo::PendingRemote<network::mojom::blink::URLLoaderFactory> _url_loader_factory) : fetch_event_id{_fetch_event_id}, token{_token}, url_loader_factory{std::move(_url_loader_factory)} {}
+ int fetch_event_id;
+ String token;
+ mojo::PendingRemote<network::mojom::blink::URLLoaderFactory>