Bug 539356 - Handled scrolled inactive layers trees correctly. r=roc
This commit is contained in:
@@ -2378,6 +2378,8 @@ FrameLayerBuilder::AddThebesDisplayItem(ThebesLayer* aLayer,
|
||||
tempManager->SetRoot(layer);
|
||||
layerBuilder->WillEndTransaction();
|
||||
|
||||
nsIntPoint offset = GetLastPaintOffset(aLayer) - GetTranslationForThebesLayer(aLayer);
|
||||
props->MoveBy(-offset);
|
||||
nsIntRect invalid = props->ComputeDifferences(layer, nullptr);
|
||||
if (aLayerState == LAYER_SVG_EFFECTS) {
|
||||
invalid = nsSVGIntegrationUtils::AdjustInvalidAreaForSVGEffects(aItem->GetUnderlyingFrame(), invalid);
|
||||
|
||||
Reference in New Issue
Block a user