Bug 997336 - Account for the DrawTarget 'device offset' when drawing layers with a mask. r=Bas

This commit is contained in:
Matt Woodrow
2014-05-12 12:31:27 +12:00
parent bbdafd5415
commit 028aa0ce91
11 changed files with 46 additions and 15 deletions

View File

@@ -835,6 +835,7 @@ BasicLayerManager::PaintSelfOrChildren(PaintLayerContext& aPaintContext,
aPaintContext.mReadback);
} else {
data->Paint(aGroupTarget->GetDrawTarget(),
aGroupTarget->GetDeviceOffset(),
aPaintContext.mLayer->GetMaskLayer());
}
} else {