Backed out changeset 2bf5b03a15da (bug 1068626) for build bustage

This commit is contained in:
Wes Kocher 2014-11-21 14:46:20 -08:00
parent 238be78dc4
commit 198fa656d3

View File

@ -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;
}