diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-05-02 07:08:14 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-05-02 07:08:14 +0200 |
commit | e88299c41d8ce1ec0ae17cc02fb15f1ef571a0d7 (patch) | |
tree | 7e95ecddc7e319c47164e175cd31f417646fad7c /xpfe | |
parent | c072e62645f8fa61968cfd6ad3cab84017cc1554 (diff) | |
download | aura-central-e88299c41d8ce1ec0ae17cc02fb15f1ef571a0d7.tar.gz |
Building with "--enable-debug" - fix some warnings
https://github.com/MoonchildProductions/moebius/pull/146
https://github.com/MoonchildProductions/Pale-Moon/pull/1400
Diffstat (limited to 'xpfe')
-rw-r--r-- | xpfe/appshell/nsWindowMediator.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xpfe/appshell/nsWindowMediator.cpp b/xpfe/appshell/nsWindowMediator.cpp index 6d69bc764..35ae550ae 100644 --- a/xpfe/appshell/nsWindowMediator.cpp +++ b/xpfe/appshell/nsWindowMediator.cpp @@ -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; } |