diff options
Diffstat (limited to 'dom/media/mediacapabilities')
-rw-r--r-- | dom/media/mediacapabilities/KeyValueStorage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/media/mediacapabilities/KeyValueStorage.cpp b/dom/media/mediacapabilities/KeyValueStorage.cpp index f0ac0aad7d..a2e007c598 100644 --- a/dom/media/mediacapabilities/KeyValueStorage.cpp +++ b/dom/media/mediacapabilities/KeyValueStorage.cpp @@ -94,7 +94,7 @@ class VoidCallback final : public nsIKeyValueVoidCallback { mResultPromise.Reject(NS_ERROR_FAILURE, __func__); return NS_OK; } - RefPtr<GenericPromise> Ensure(const char* aMethodName) { + RefPtr<GenericPromise> Ensure(StaticString aMethodName) { return mResultPromise.Ensure(aMethodName); } |