зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1505374. Remove dead hasClip code from FrameLayerBuilder::AddPaintedDisplayItem. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D11168 --HG-- extra : rebase_source : c2637d8eea66e5e454c1de976083e3410e6c3569
This commit is contained in:
Родитель
469a9f409b
Коммит
f31705c291
|
@ -5741,7 +5741,6 @@ FrameLayerBuilder::AddPaintedDisplayItem(PaintedLayerData* aLayerData,
|
|||
layer->GetUserData(&gPaintedDisplayItemLayerUserData));
|
||||
RefPtr<BasicLayerManager> tempManager;
|
||||
nsIntRect intClip;
|
||||
bool hasClip = false;
|
||||
if (aItem.mLayerState != LAYER_NONE) {
|
||||
if (aItem.mDisplayItemData) {
|
||||
tempManager = aItem.mDisplayItemData->mInactiveManager;
|
||||
|
@ -5903,10 +5902,6 @@ FrameLayerBuilder::AddPaintedDisplayItem(PaintedLayerData* aLayerData,
|
|||
|
||||
invalid.ScaleRoundOut(paintedData->mXScale, paintedData->mYScale);
|
||||
|
||||
if (hasClip) {
|
||||
invalid.And(invalid, intClip);
|
||||
}
|
||||
|
||||
InvalidatePostTransformRegion(
|
||||
layer, invalid, GetTranslationForPaintedLayer(layer));
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче