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:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user