blob: c43c4fd9b2f23ce509a51f0876656042260761cf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- content/browser/service_worker/service_worker_context_wrapper.cc.orig 2023-11-04 07:08:51 UTC
+++ content/browser/service_worker/service_worker_context_wrapper.cc
@@ -1440,7 +1440,12 @@ void ServiceWorkerContextWrapper::MaybeProcessPendingW
return;
}
+#if defined(__clang__) && (__clang_major__ >= 16)
auto [document_url, key, callback] = std::move(*request);
+#else
+ auto [d_u, key, callback] = std::move(*request);
+ auto document_url = d_u;
+#endif
DCHECK(document_url.is_valid());
TRACE_EVENT1("ServiceWorker",
|