Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas

This commit is contained in:
Kartikaya Gupta
2014-07-22 09:12:14 -04:00
parent 2a7605a829
commit e480e44f68
17 changed files with 78 additions and 123 deletions

View File

@@ -1081,8 +1081,7 @@ GetCompositorSideCompositionBounds(ContainerLayer* aScrollAncestor,
aScrollAncestor->GetFrameMetrics().mResolution.scale,
1.f);
gfx3DMatrix layerTransform;
gfx::To3DMatrix(aScrollAncestor->GetTransform(), layerTransform);
gfx3DMatrix layerTransform = gfx::To3DMatrix(aScrollAncestor->GetTransform());
// First take off the last two "terms" of aTransformToCompBounds, which
// are the scroll ancestor's local transform and the APZ's nontransient async