diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:43:14 +0000 |
commit | 8dd16259287f58f9273002717ec4d27e97127719 (patch) | |
tree | 3863e62a53829a84037444beab3abd4ed9dfc7d0 /dom/promise/PromiseNativeHandler.h | |
parent | Releasing progress-linux version 126.0.1-1~progress7.99u1. (diff) | |
download | firefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz firefox-8dd16259287f58f9273002717ec4d27e97127719.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/promise/PromiseNativeHandler.h')
-rw-r--r-- | dom/promise/PromiseNativeHandler.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dom/promise/PromiseNativeHandler.h b/dom/promise/PromiseNativeHandler.h index f311f2d29e..d505316b13 100644 --- a/dom/promise/PromiseNativeHandler.h +++ b/dom/promise/PromiseNativeHandler.h @@ -12,6 +12,7 @@ #include "js/Value.h" #include "mozilla/ErrorResult.h" #include "mozilla/Maybe.h" +#include "mozilla/StaticString.h" #include "nsISupports.h" namespace mozilla::dom { @@ -58,7 +59,7 @@ class MozPromiseRejectOnDestruction final // (Accepting RefPtr<T> instead of T* because compiler fails to implicitly // convert it at call sites) MozPromiseRejectOnDestruction(const RefPtr<T>& aMozPromise, - const char* aCallSite) + StaticString aCallSite) : mMozPromise(aMozPromise), mCallSite(aCallSite) { MOZ_ASSERT(aMozPromise); } @@ -70,7 +71,7 @@ class MozPromiseRejectOnDestruction final } RefPtr<T> mMozPromise; - const char* mCallSite; + StaticString mCallSite; }; } // namespace mozilla::dom |