зеркало из https://github.com/mozilla/gecko-dev.git
Fix Mac OS X printing, don't just print blank pages. Patch by Stuart Parmenter. b=368933 r=josh sr=pav
This commit is contained in:
Родитель
3cbffef574
Коммит
d3787094ec
|
@ -271,7 +271,7 @@ NS_IMETHODIMP nsDeviceContextSpecX::GetSurfaceForPrinter(gfxASurface **surface)
|
|||
if (context)
|
||||
newSurface = new gfxQuartzSurface(context, PR_FALSE, gfxSize(width, height));
|
||||
else
|
||||
newSurface = new gfxImageSurface(gfxIntSize((PRInt32)width, (PRInt32)height), gfxASurface::ImageFormatARGB32);
|
||||
newSurface = new gfxQuartzSurface(gfxSize((PRInt32)width, (PRInt32)height), gfxASurface::ImageFormatARGB32);
|
||||
|
||||
if (!newSurface)
|
||||
return NS_ERROR_FAILURE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче