Use IPDL to schedule composites on GTK. (bug 1272472 part 2, r=nical)

This commit is contained in:
David Anderson 2016-05-17 22:33:21 -07:00
parent bb2cbc24f4
commit 09c466def2

View File

@ -2172,9 +2172,9 @@ nsWindow::OnExposeEvent(cairo_t *cr)
return FALSE;
}
if (clientLayers && mCompositorBridgeParent && clientLayers->NeedsComposite()) {
mCompositorBridgeParent->ScheduleRenderOnCompositorThread();
clientLayers->SetNeedsComposite(false);
if (clientLayers && clientLayers->NeedsComposite()) {
clientLayers->Composite();
clientLayers->SetNeedsComposite(false);
}
LOGDRAW(("sending expose event [%p] %p 0x%lx (rects follow):\n",