mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
Building with "--enable-debug" - fix some warnings
https://github.com/MoonchildProductions/moebius/pull/146 https://github.com/MoonchildProductions/Pale-Moon/pull/1400
This commit is contained in:
parent
b56d147095
commit
9ab20590c6
5 changed files with 10 additions and 10 deletions
|
|
@ -616,12 +616,10 @@ nsWindowMediator::GetZLevel(nsIXULWindow *aWindow, uint32_t *_retval)
|
|||
{
|
||||
NS_ENSURE_ARG_POINTER(_retval);
|
||||
*_retval = nsIXULWindow::normalZ;
|
||||
// This can fail during window destruction.
|
||||
nsWindowInfo *info = GetInfoFor(aWindow);
|
||||
if (info) {
|
||||
*_retval = info->mZLevel;
|
||||
} else {
|
||||
NS_WARNING("getting z level of unregistered window");
|
||||
// this goes off during window destruction
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue