Backed out changeset 9cc08c2f20be (bug 239460) for causing build bustage. CLOSED TREE

This commit is contained in:
Molnar Sandor
2022-04-07 03:02:28 +03:00
parent 5b65cc4ecb
commit 0c288a9598
4 changed files with 15 additions and 11 deletions

View File

@@ -1465,10 +1465,8 @@ bool AppWindow::UpdateWindowStateFromMiscXULAttributes() {
if (!stateString.IsEmpty()) {
nsresult errorCode;
int32_t zLevel = stateString.ToInteger(&errorCode);
if (NS_SUCCEEDED(errorCode) && zLevel >= int32_t(lowestZ) &&
zLevel <= int32_t(highestZ)) {
if (NS_SUCCEEDED(errorCode) && zLevel >= lowestZ && zLevel <= highestZ)
SetZLevel(zLevel);
}
}
return gotState;