diff --git a/dom/clients/manager/ClientSourceParent.cpp b/dom/clients/manager/ClientSourceParent.cpp index 80483ab5db9a..dd789c5e7fb3 100644 --- a/dom/clients/manager/ClientSourceParent.cpp +++ b/dom/clients/manager/ClientSourceParent.cpp @@ -241,7 +241,7 @@ bool ClientSourceParent::IsFrozen() const { return mFrozen; } bool ClientSourceParent::ExecutionReady() const { return mExecutionReady; } -RefPtr ClientSourceParent::ExecutionReadyPromise() { +RefPtr ClientSourceParent::ExecutionReadyPromise() { // Only call if ClientSourceParent::ExecutionReady() is false; otherwise, // the promise will never resolve MOZ_ASSERT(!mExecutionReady); diff --git a/dom/clients/manager/ClientSourceParent.h b/dom/clients/manager/ClientSourceParent.h index 7aa9fe12fef5..0de0b06663f3 100644 --- a/dom/clients/manager/ClientSourceParent.h +++ b/dom/clients/manager/ClientSourceParent.h @@ -68,7 +68,7 @@ class ClientSourceParent final : public PClientSourceParent { bool ExecutionReady() const; - RefPtr ExecutionReadyPromise(); + RefPtr ExecutionReadyPromise(); const Maybe& GetController() const;