mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00
Bug 376375. Use Translate so we fill the right area with theme drawing after alpha recovery. r=vlad
This commit is contained in:
parent
29c382a2b2
commit
dc2d890514
@ -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));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user