Bug 790505, part 2: Add API for scheduling a shadowable-layer mutation to be applied at the next layers transaction. r=mattwoodrow,roc

This commit is contained in:
Chris Jones
2012-10-02 22:55:50 -07:00
parent 3c5d7f398d
commit 35e03df89a
3 changed files with 31 additions and 0 deletions

View File

@@ -867,6 +867,8 @@ BasicLayerManager::PaintLayer(gfxContext* aTarget,
RenderTraceScope trace("BasicLayerManager::PaintLayer", "707070");
aLayer->ApplyPendingUpdatesForThisTransaction();
const nsIntRect* clipRect = aLayer->GetEffectiveClipRect();
// aLayer might not be a container layer, but if so we take care not to use
// the container variable