Bug 1469716 add log messages for SetTransparencyMode r=stransky

Differential Revision: https://phabricator.services.mozilla.com/D53389

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Karl Tomlinson 2019-11-20 04:32:43 +00:00
parent c4775ee642
commit f62fdfa67f

View File

@ -4558,7 +4558,10 @@ void nsWindow::SetTransparencyMode(nsTransparencyMode aMode) {
if (mIsTransparent == isTransparent) {
return;
} else if (mWindowType != eWindowType_popup) {
}
LOG(("nsWindow::SetTransparencyMode [%p] mode %d\n", this, (int)aMode));
if (mWindowType != eWindowType_popup) {
NS_WARNING("Cannot set transparency mode on non-popup windows.");
return;
}