зеркало из https://github.com/mozilla/gecko-dev.git
reflow was using the wrong DC to rendering context for PP
BUg 117745 r=dcone sr=attinasi
This commit is contained in:
Родитель
697895ba74
Коммит
173fd2cf67
|
@ -126,7 +126,7 @@ NS_IMETHODIMP nsDeviceContextMac :: CreateRenderingContext(nsIRenderingContext *
|
|||
{
|
||||
#ifdef NS_PRINT_PREVIEW
|
||||
// Defer to Alt when there is one
|
||||
if (mAltDC && (mUseAltDC & kUseAltDCFor_CREATE_RC)) {
|
||||
if (mAltDC && ((mUseAltDC & kUseAltDCFor_CREATERC_PAINT) || (mUseAltDC & kUseAltDCFor_CREATERC_REFLOW))) {
|
||||
return mAltDC->CreateRenderingContext(aContext);
|
||||
}
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче