diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-06-17 13:53:06 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-06-20 11:49:50 +0000 |
commit | c24309ffb7ff9df2b933358eba51238aafa572f3 (patch) | |
tree | 9e4ef1ab270b809e95dd15528579789daf3dde9a | |
parent | 185dfeb21f478a8503f424570eff01177a46721b (diff) | |
download | qtwebengine-chromium-c24309ffb7ff9df2b933358eba51238aafa572f3.tar.gz |
Fix build with Clang 10.0.0, C++20, jumbo=20
As per the C++ standard, name lookup stopped at the nested
content::features namespace, and didn't continue to ::features:
service_worker_context_wrapper.cc:1426:18: error: no member named 'kStorageServiceOutOfProcess' in namespace 'content::features'; did you mean '::features::kStorageServiceOutOfProcess'?
features::kStorageServiceOutOfProcess)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::features::kStorageServiceOutOfProcess
qtwebengine/src/3rdparty/chromium/content/public/common/content_features.h:208:43: note: '::features::kStorageServiceOutOfProcess' declared here
Fix by using a fully-qualified name.
Pick-to: 94-based
Change-Id: I000077bf5a1343bb0afce3f2f7f430f898d96380
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | chromium/content/browser/service_worker/service_worker_context_wrapper.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/content/browser/service_worker/service_worker_context_wrapper.cc b/chromium/content/browser/service_worker/service_worker_context_wrapper.cc index 5d65081966d..dead928e82d 100644 --- a/chromium/content/browser/service_worker/service_worker_context_wrapper.cc +++ b/chromium/content/browser/service_worker/service_worker_context_wrapper.cc @@ -1423,7 +1423,7 @@ void ServiceWorkerContextWrapper::BindStorageControl( if (storage_control_binder_for_test_) { storage_control_binder_for_test_.Run(std::move(receiver)); } else if (base::FeatureList::IsEnabled( - features::kStorageServiceOutOfProcess)) { + ::features::kStorageServiceOutOfProcess)) { // TODO(crbug.com/1055677): Use storage_partition() to bind the control when // ServiceWorkerStorageControl is sandboxed in the Storage Service. DCHECK(!storage_control_); |