mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b=408623, fx3 plugin printing on windows broken, r=biesi,sr=roc
This commit is contained in:
parent
07aada9ba5
commit
b02e9e1b3a
@ -1119,8 +1119,8 @@ nsObjectFrame::PrintPlugin(nsIRenderingContext& aRenderingContext,
|
||||
|
||||
// set it all up
|
||||
// XXX is windowless different?
|
||||
window.x = origin.x;
|
||||
window.y = origin.y;
|
||||
window.x = presContext->AppUnitsToDevPixels(origin.x);
|
||||
window.y = presContext->AppUnitsToDevPixels(origin.y);
|
||||
window.width = presContext->AppUnitsToDevPixels(mRect.width);
|
||||
window.height= presContext->AppUnitsToDevPixels(mRect.height);
|
||||
window.clipRect.bottom = 0; window.clipRect.top = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user