mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 20:22:00 +00:00
Backed out changeset 2bf5b03a15da (bug 1068626) for build bustage
This commit is contained in:
parent
f45dc121c8
commit
b69e99d50c
@ -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…
x
Reference in New Issue
Block a user