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,8 +2172,8 @@ nsWindow::OnExposeEvent(cairo_t *cr)
return FALSE;
}
if (clientLayers && mCompositorBridgeParent && clientLayers->NeedsComposite()) {
mCompositorBridgeParent->ScheduleRenderOnCompositorThread();
if (clientLayers && clientLayers->NeedsComposite()) {
clientLayers->Composite();
clientLayers->SetNeedsComposite(false);
}