зеркало из https://github.com/mozilla/gecko-dev.git
Followup comment fix for bug 434157
This commit is contained in:
Родитель
3b48df84b3
Коммит
3e96d13d8f
|
@ -242,6 +242,8 @@ nsThebesDeviceContext::SetDPI()
|
|||
// make sure we don't end up dividing by zero.
|
||||
PRUint32 roundedDPIScaleFactor = (dpi + 48)/96;
|
||||
#ifdef MOZ_WIDGET_GTK2
|
||||
// be more conservative about activating scaling on GTK2, since the dpi
|
||||
// information is more likely to be wrong
|
||||
roundedDPIScaleFactor = dpi/96;
|
||||
#endif
|
||||
mAppUnitsPerDevNotScaledPixel =
|
||||
|
|
Загрузка…
Ссылка в новой задаче