Bug 1430797 - Follow-up to address review comment. r=mstange

MozReview-Commit-ID: 4DkzPSlDLwN
This commit is contained in:
Kartikaya Gupta 2018-01-17 08:59:38 -05:00
parent 185603d39a
commit 6641e4d0f0

View File

@ -911,6 +911,7 @@ nsBaseWidget::AllowWebRenderForThisWindow()
{
return WindowType() == eWindowType_toplevel ||
WindowType() == eWindowType_child ||
WindowType() == eWindowType_dialog ||
(WindowType() == eWindowType_popup && HasRemoteContent());
}