mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
b=408623, fx3 plugin printing on windows broken, r=biesi,sr=roc
This commit is contained in:
parent
0e5dc50bdf
commit
2ed75e8d83
@ -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