mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Use IPDL to schedule composites on GTK. (bug 1272472 part 2, r=nical)
This commit is contained in:
parent
bb2cbc24f4
commit
09c466def2
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user