blob: 13e7052b0b815166dfbb32684cfee7632ffdc44d (
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-09-17 07:59:53 UTC
+++ content/browser/service_worker/service_worker_context_wrapper.cc
@@ -1406,7 +1406,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",
|