зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1498679 - Stop moving variable to fix Linux64 debug coverage build. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D9244 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
966d95816c
Коммит
13c885d7b1
|
@ -8333,7 +8333,7 @@ HTMLMediaElement::SetSinkId(const nsAString& aSinkId, ErrorResult& aRv)
|
|||
})
|
||||
->Then(mAbstractMainThread, __func__,
|
||||
[promise, self = RefPtr<HTMLMediaElement>(this),
|
||||
sinkId = std::move(sinkId)] (const SinkInfoPromise::ResolveOrRejectValue& aValue) {
|
||||
sinkId] (const SinkInfoPromise::ResolveOrRejectValue& aValue) {
|
||||
if (aValue.IsResolve()) {
|
||||
self->mSink = MakePair(sinkId, aValue.ResolveValue());
|
||||
promise->MaybeResolveWithUndefined();
|
||||
|
|
Загрузка…
Ссылка в новой задаче