Bug 1142071 - Re-add WaitForBufferOwnership() r=jgilbert

This commit is contained in:
Sotaro Ikeda 2015-03-11 14:10:24 -07:00
parent 9fb770d771
commit 114f04dcd9

View File

@ -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));
}