Issue #1587 - Part 8: Remove controller follow/unfollow

Since it didn't end up being in the final spec after all.
This commit is contained in:
Moonchild 2020-06-12 01:08:26 +00:00 committed by Roy Tam
commit 8ac3ccd67a
6 changed files with 1 additions and 124 deletions

View file

@ -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