diff --git a/dom/quota/OriginOperations.h b/dom/quota/OriginOperations.h index e56d37bec42c..0cc80b7a5111 100644 --- a/dom/quota/OriginOperations.h +++ b/dom/quota/OriginOperations.h @@ -36,7 +36,7 @@ class QuotaManager; class QuotaRequestBase; class QuotaUsageRequestBase; class RequestParams; -template +template class ResolvableNormalOriginOp; class UniversalDirectoryLock; class UsageRequestParams; diff --git a/dom/quota/ResolvableNormalOriginOp.h b/dom/quota/ResolvableNormalOriginOp.h index 8e09e4e2b807..29294cbe32cc 100644 --- a/dom/quota/ResolvableNormalOriginOp.h +++ b/dom/quota/ResolvableNormalOriginOp.h @@ -13,12 +13,12 @@ namespace mozilla::dom::quota { -template +template class ResolvableNormalOriginOp : public NormalOriginOperationBase { public: NS_INLINE_DECL_REFCOUNTING(ResolvableNormalOriginOp, override) - using PromiseType = MozPromise; + using PromiseType = MozPromise; RefPtr OnResults() { AssertIsOnOwningThread(); @@ -35,7 +35,7 @@ class ResolvableNormalOriginOp : public NormalOriginOperationBase { virtual ~ResolvableNormalOriginOp() = default; - virtual T GetResolveValue() = 0; + virtual ResolveValueT GetResolveValue() = 0; private: void SendResults() override {