mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Add GuaranteePersistence to PushLayer in DrawTargetCapture. (bug 1447144, r=bas)
--HG-- extra : amend_source : 4492b72ad9e306aeefadddd970b0e997de386239
This commit is contained in:
parent
70a0c81b98
commit
12792a2bc5
@ -290,6 +290,10 @@ DrawTargetCaptureImpl::PushLayer(bool aOpaque,
|
||||
mPushedLayers.push_back(layer);
|
||||
DrawTarget::SetPermitSubpixelAA(aOpaque);
|
||||
|
||||
if (aMask) {
|
||||
aMask->GuaranteePersistance();
|
||||
}
|
||||
|
||||
AppendCommand(PushLayerCommand)(aOpaque,
|
||||
aOpacity,
|
||||
aMask,
|
||||
|
Loading…
Reference in New Issue
Block a user