Fixing thebes build bustage; bug 317375

git-svn-id: svn://10.0.0.236/trunk@188217 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu 2006-01-26 04:57:39 +00:00
parent 2d6b68dadc
commit df58ee313e

View File

@ -234,9 +234,9 @@ nsThebesRenderingContext::SetTranslation(nscoord aX, nscoord aY)
{
gfxMatrix mat = mThebes->CurrentMatrix();
gfxFloat a, b, c, d, tx, ty;
mat->ToValues(&a, &b, &c, &d, &tx, &ty);
mat.ToValues(&a, &b, &c, &d, &tx, &ty);
gfxMatrix newMat(a, b, c, d, aX, aY);
mThebes->SetMatrix(&newMat);
mThebes->SetMatrix(newMat);
return NS_OK;
}