mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1108767 - Allow promises to be resolved without a MediaPromiseHolder. r=cpearce
It turns out that there are use-cases where this restriction is clunky.
This commit is contained in:
parent
e9cb8ab7de
commit
5827f5f41e
@ -225,9 +225,6 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
private:
|
||||
// Resolve and Reject may only be invoked via MediaPromiseHolder.
|
||||
friend class MediaPromiseHolder<MediaPromise<ResolveValueType, RejectValueType>>;
|
||||
void Resolve(ResolveValueType aResolveValue, const char* aResolveSite)
|
||||
{
|
||||
MutexAutoLock lock(mMutex);
|
||||
|
Loading…
Reference in New Issue
Block a user