Skip to content
Snippets Groups Projects
Commit 6bb45536 authored by Marian-Vasile Laza's avatar Marian-Vasile Laza
Browse files

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

parent ebef03db
No related branches found
No related tags found
No related merge requests found
......@@ -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__);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment