Backed out changeset 86c9c78b8664 (bug 1748981) for causing geckoview test failures. CLOSED TREE

This commit is contained in:
Marian-Vasile Laza 2022-01-09 22:17:58 +02:00
parent ebef03db72
commit 6bb4553633

View File

@ -90,7 +90,7 @@ RefPtr<mozilla::MozPromise<bool, bool, false>> LockScreenOrientation(
GetCurrentSerialEventTarget(), __func__,
[=](const mozilla::MozPromise<bool, ipc::ResponseRejectReason,
true>::ResolveOrRejectValue& aValue) {
if (aValue.IsResolve() && aValue.ResolveValue()) {
if (aValue.IsResolve()) {
return mozilla::MozPromise<bool, bool, false>::CreateAndResolve(
true, __func__);
}