From a90a5cba08fdf6c0ceb95101c275108a152a3aed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:35:37 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- toolkit/xre/dllservices/UntrustedModulesProcessor.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'toolkit/xre/dllservices/UntrustedModulesProcessor.cpp') diff --git a/toolkit/xre/dllservices/UntrustedModulesProcessor.cpp b/toolkit/xre/dllservices/UntrustedModulesProcessor.cpp index 1d11837355..35dd814acd 100644 --- a/toolkit/xre/dllservices/UntrustedModulesProcessor.cpp +++ b/toolkit/xre/dllservices/UntrustedModulesProcessor.cpp @@ -409,7 +409,7 @@ RefPtr UntrustedModulesProcessor::GetModulesTrust( RefPtr p( new ModulesTrustPromise::Private(__func__)); nsCOMPtr evtTarget(mThread); - const char* source = __func__; + StaticString source = __func__; auto runWrap = [evtTarget = std::move(evtTarget), p, source, run = std::move(run)]() mutable -> void { @@ -441,7 +441,7 @@ UntrustedModulesProcessor::GetProcessedDataInternal() { } RefPtr UntrustedModulesProcessor::GetAllProcessedData( - const char* aSource) { + StaticString aSource) { AssertRunningOnLazyIdleThread(); UntrustedModulesData result; @@ -471,7 +471,7 @@ UntrustedModulesProcessor::GetProcessedDataInternalChildProcess() { new UntrustedModulesPromise::Private(__func__)); nsCOMPtr evtTarget(mThread); - const char* source = __func__; + StaticString source = __func__; auto completionRoutine = [evtTarget = std::move(evtTarget), p, self = std::move(self), source, whenProcessed = std::move(whenProcessed)]() { @@ -570,7 +570,7 @@ void UntrustedModulesProcessor::BackgroundProcessModuleLoadQueueChildProcess() { RefPtr self(this); nsCOMPtr evtTarget(mThread); - const char* source = __func__; + constexpr StaticString const source = __func__; auto completionRoutine = [evtTarget = std::move(evtTarget), self = std::move(self), source, whenProcessed = std::move(whenProcessed)]() { -- cgit v1.2.3