Bug 376375. Use Translate so we fill the right area with theme drawing after alpha recovery. r=vlad

git-svn-id: svn://10.0.0.236/trunk@246425 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
roc+%cs.cmu.edu
2008-02-25 01:24:41 +00:00
parent 0838e693a1
commit 60bd8ead95

View File

@@ -264,7 +264,7 @@ gfxWindowsNativeDrawing::PaintToContext()
gfxAlphaRecovery::RecoverAlpha(black, white, mTempSurfaceSize);
mContext->Save();
mContext->MoveTo(mNativeRect.pos);
mContext->Translate(mNativeRect.pos);
mContext->NewPath();
mContext->Rectangle(gfxRect(gfxPoint(0.0, 0.0), mNativeRect.size));