diff --git a/mozilla/gfx/src/mac/nsImageMac.cpp b/mozilla/gfx/src/mac/nsImageMac.cpp index e7183207573..ff558de99a8 100644 --- a/mozilla/gfx/src/mac/nsImageMac.cpp +++ b/mozilla/gfx/src/mac/nsImageMac.cpp @@ -849,10 +849,9 @@ NS_IMETHODIMP nsImageMac::DrawTile(nsIRenderingContext &aContext, for (PRInt32 y = aY0; y < aY1; y += mHeight) for (PRInt32 x = aX0; x < aX1; x += mHeight) - Draw(aContext,aSurface, x,y, - PR_MIN(validWidth, aX1-x), - PR_MIN(validHeight, aY1-y)); - + Draw(aContext, aSurface, + 0, 0, PR_MIN(validWidth, aX1-x), PR_MIN(validHeight, aY1-y), + x, y, PR_MIN(validWidth, aX1-x), PR_MIN(validHeight, aY1-y)); return PR_TRUE; }