mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
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:
parent
b988c351ff
commit
8ac3ccd67a
6 changed files with 1 additions and 124 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue