Backed out 1 changesets (bug 1423869)for causing frequent Linux chrome failure in toolkit/content/tests/chrome/test_chromemargin.xul r=backout on a CLOSED TREE

Backed out changeset 4960f30d91b2 (bug 1423869)
This commit is contained in:
Bogdan Tara 2017-12-07 19:58:24 +02:00
parent 9cee3dc42a
commit e15c276db2

View File

@ -3795,9 +3795,8 @@ nsWindow::Create(nsIWidget* aParent,
* and we listen to the Gtk+ events on mContainer.
*/
GtkStyleContext* style = gtk_widget_get_style_context(mShell);
drawToContainer =
(mIsCSDAvailable && GetCSDSupportLevel() == CSD_SUPPORT_FLAT) ||
gtk_style_context_has_class(style, "csd");
drawToContainer = mIsCSDAvailable ||
gtk_style_context_has_class(style, "csd");
#endif
eventWidget = (drawToContainer) ? container : mShell;