mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Don't append to mDrawTargetsToFlush in Tiled OMTP (bug 1424172, r=bas)
MozReview-Commit-ID: GhlE3DXwKJi --HG-- extra : rebase_source : 41a178a2cdce32e954841024f1075ee33081f475 extra : source : 0863e916742e8f4986db3b38b75b0b6ee2099d8f
This commit is contained in:
parent
a12a7cbac8
commit
52aacbca78
@ -391,10 +391,7 @@ PaintThread::AsyncPaintTiledContents(CompositorBridgeChild* aBridge,
|
||||
|
||||
// Draw all the things into the actual dest target.
|
||||
target->DrawCapturedDT(capture, Matrix());
|
||||
|
||||
if (!mDrawTargetsToFlush.Contains(target)) {
|
||||
mDrawTargetsToFlush.AppendElement(target);
|
||||
}
|
||||
target->Flush();
|
||||
|
||||
if (gfxPrefs::LayersOMTPReleaseCaptureOnMainThread()) {
|
||||
// This should ensure the capture drawtarget, which may hold on to UnscaledFont objects,
|
||||
|
Loading…
Reference in New Issue
Block a user