mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 2bf5b03a15da (bug 1068626) for build bustage
This commit is contained in:
parent
238be78dc4
commit
198fa656d3
@ -761,14 +761,6 @@ PuppetWidget::PaintTask::Run()
|
||||
bool
|
||||
PuppetWidget::NeedsPaint()
|
||||
{
|
||||
// e10s popups are handled by the parent process, so never should be painted here
|
||||
if (XRE_GetProcessType() == GeckoProcessType_Content &&
|
||||
Preferences::GetBool("browser.tabs.remote.desktopbehavior", false) &&
|
||||
mWindowType == eWindowType_popup) {
|
||||
NS_WARNING("Trying to paint an e10s popup in the child process!");
|
||||
return false;
|
||||
}
|
||||
|
||||
return mVisible;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user