summaryrefslogtreecommitdiffstats
path: root/dom/abort/AbortController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/abort/AbortController.cpp')
-rw-r--r--dom/abort/AbortController.cpp31
1 files changed, 1 insertions, 30 deletions
diff --git a/dom/abort/AbortController.cpp b/dom/abort/AbortController.cpp
index 4043b7bf3..bd8159e7b 100644
--- a/dom/abort/AbortController.cpp
+++ b/dom/abort/AbortController.cpp
@@ -12,8 +12,7 @@
namespace mozilla {
namespace dom {
-NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE(AbortController, mGlobal, mSignal,
- mFollowingSignal)
+NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE(AbortController, mGlobal, mSignal)
NS_IMPL_CYCLE_COLLECTING_ADDREF(AbortController)
NS_IMPL_CYCLE_COLLECTING_RELEASE(AbortController)
@@ -95,33 +94,5 @@ AbortController::Abort()
}
}
-void
-AbortController::Follow(AbortSignal& aSignal)
-{
- AbortSignal::Follower::Follow(&aSignal);
-}
-
-void
-AbortController::Unfollow(AbortSignal& aSignal)
-{
- if (mFollowingSignal != &aSignal) {
- return;
- }
-
- AbortSignal::Follower::Unfollow();
-}
-
-AbortSignal*
-AbortController::Following() const
-{
- return mFollowingSignal;
-}
-
-void
-AbortController::Aborted()
-{
- Abort();
-}
-
} // dom namespace
} // mozilla namespace