Bug 994024 - Discard TextureClients that we failed to allocate or lock. r=bjacob
This commit is contained in:
@@ -81,6 +81,7 @@ CanvasClient2D::Update(gfx::IntSize aSize, ClientCanvasLayer* aLayer)
|
||||
}
|
||||
|
||||
if (!mBuffer->Lock(OPEN_WRITE_ONLY)) {
|
||||
mBuffer = nullptr;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user