mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +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,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",
|
||||
|
Loading…
Reference in New Issue
Block a user