Bug 1042423 - Part 3: Don't build inactive mask layers. r=roc

This commit is contained in:
Matt Woodrow 2014-07-23 17:21:35 +12:00
parent b6b423b959
commit 999711a01a

View File

@ -1832,6 +1832,10 @@ void
ThebesLayerData::UpdateCommonClipCount(
const DisplayItemClip& aCurrentClip)
{
if (!mLayer->Manager()->IsWidgetLayerManager()) {
return;
}
if (mCommonClipCount >= 0) {
mCommonClipCount = mItemClip.GetCommonRoundedRectCount(aCurrentClip, mCommonClipCount);
} else {