mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Allow painted layers with ancestor mask layers to use OMTP (bug 1419586, r=dvander)
MozReview-Commit-ID: 1Ru3lxaKUbl --HG-- extra : rebase_source : df2fc3ecf68f8792945e4a3b72c23b7c9cfcc6fe
This commit is contained in:
parent
0f97b1bbce
commit
96a3a743e2
@ -66,13 +66,7 @@ ClientPaintedLayer::CanRecordLayer(ReadbackProcessor* aReadback)
|
||||
return false;
|
||||
}
|
||||
|
||||
// If we have mask layers, we have to render those first
|
||||
// In this case, don't record for now.
|
||||
if (GetMaskLayer()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return GetAncestorMaskLayerCount() == 0;
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user