mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 616901. Fix rect in nptest_windows.cpp, to fix misrendering in 580160-1-ref.html. r=bsmedberg a=tests-only
This commit is contained in:
parent
449c3560c9
commit
9f868999f2
@ -115,7 +115,7 @@ drawToDC(InstanceData* instanceData, HDC dc,
|
||||
switch (instanceData->scriptableObject->drawMode) {
|
||||
case DM_DEFAULT:
|
||||
{
|
||||
const RECT fill = { x, y, width, height };
|
||||
const RECT fill = { x, y, x + width, y + height };
|
||||
|
||||
int oldBkMode = ::SetBkMode(dc, TRANSPARENT);
|
||||
HBRUSH brush = ::CreateSolidBrush(RGB(0, 0, 0));
|
||||
|
Loading…
Reference in New Issue
Block a user