Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user