mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1142071 - Re-add WaitForBufferOwnership() r=jgilbert
This commit is contained in:
parent
33a28f8360
commit
8d28b701c8
@ -343,6 +343,10 @@ SurfaceFactory::NewShSurfHandle(const gfx::IntSize& size)
|
||||
if (!surf)
|
||||
return nullptr;
|
||||
|
||||
// Before next use, wait until SharedSurface's buffer
|
||||
// is no longer being used.
|
||||
surf->WaitForBufferOwnership();
|
||||
|
||||
return new ShSurfHandle(this, Move(surf));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user