summaryrefslogtreecommitdiffstats
path: root/dom/promise/Promise.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/promise/Promise.h')
-rw-r--r--dom/promise/Promise.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/dom/promise/Promise.h b/dom/promise/Promise.h
index 76c657d5a6..f2b70a95cd 100644
--- a/dom/promise/Promise.h
+++ b/dom/promise/Promise.h
@@ -255,13 +255,6 @@ class Promise : public SupportsWeakPtr {
PropagateUserInteraction aPropagateUserInteraction =
eDontPropagateUserInteraction);
- void Then(JSContext* aCx,
- // aCalleeGlobal may not be in the compartment of aCx, when called
- // over Xrays.
- JS::Handle<JSObject*> aCalleeGlobal, AnyCallback* aResolveCallback,
- AnyCallback* aRejectCallback, JS::MutableHandle<JS::Value> aRetval,
- ErrorResult& aRv);
-
template <typename Callback, typename... Args>
using IsHandlerCallback =
std::is_same<already_AddRefed<Promise>,