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

@@ -262,7 +262,7 @@ BasicCompositor::DrawQuad(const gfx::Rect& aRect,
dest->SetTransform(destTransform);
// Get the bounds post-transform.
To3DMatrix(aTransform, new3DTransform);
new3DTransform = To3DMatrix(aTransform);
gfxRect bounds = new3DTransform.TransformBounds(ThebesRect(aRect));
bounds.IntersectRect(bounds, gfxRect(offset.x, offset.y, buffer->GetSize().width, buffer->GetSize().height));