mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-29 18:53:15 +00:00
Merge remote-tracking branch 'origin/media-works' into master
This commit is contained in:
@@ -820,6 +820,12 @@ public:
|
||||
MozPromiseRequestHolder() {}
|
||||
~MozPromiseRequestHolder() { MOZ_ASSERT(!mRequest); }
|
||||
|
||||
void Begin(nsRefPtr<typename PromiseType::Request>&& aRequest)
|
||||
{
|
||||
MOZ_DIAGNOSTIC_ASSERT(!Exists());
|
||||
mRequest = Move(aRequest);
|
||||
}
|
||||
|
||||
void Begin(typename PromiseType::Request* aRequest)
|
||||
{
|
||||
MOZ_DIAGNOSTIC_ASSERT(!Exists());
|
||||
|
||||
Reference in New Issue
Block a user