Bug 1431028 - Don't discard the back buffer in ClientSingleTiledLayerBuffer. r=mattwoodrow

MozReview-Commit-ID: HHbqlAnSVmN
This commit is contained in:
JerryShih 2018-01-17 02:19:00 -05:00
Родитель 57f7f09133
Коммит 138670043b
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -336,12 +336,6 @@ ClientSingleTiledLayerBuffer::PaintThebes(const nsIntRegion& aNewValidRegion,
mTile.Flip();
UnlockTile(mTile);
if (backBuffer->HasIntermediateBuffer()) {
// If our new buffer has an internal buffer, we don't want to keep another
// TextureClient around unnecessarily, so discard the back-buffer.
mTile.DiscardBackBuffer();
}
mValidRegion = aNewValidRegion;
mLastPaintSurfaceMode = mode;
mLastPaintContentType = content;