mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-24 16:54:08 +00:00
Bug 1042423 - Part 3: Don't build inactive mask layers. r=roc
This commit is contained in:
parent
b6b423b959
commit
999711a01a
@ -1832,6 +1832,10 @@ void
|
||||
ThebesLayerData::UpdateCommonClipCount(
|
||||
const DisplayItemClip& aCurrentClip)
|
||||
{
|
||||
if (!mLayer->Manager()->IsWidgetLayerManager()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (mCommonClipCount >= 0) {
|
||||
mCommonClipCount = mItemClip.GetCommonRoundedRectCount(aCurrentClip, mCommonClipCount);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user