mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron.
This commit is contained in:
parent
107e936055
commit
09bdbb85d8
@ -275,7 +275,7 @@ NS_IMETHODIMP nsDeviceContextMac :: GetSystemFont(nsSystemFontID aID, nsFont *aF
|
||||
case eSystemFont_Tooltips:
|
||||
case eSystemFont_Widget:
|
||||
float dev2app;
|
||||
GetDevUnitsToAppUnits(dev2app);
|
||||
dev2app = DevUnitsToAppUnits();
|
||||
|
||||
aFont->style = NS_FONT_STYLE_NORMAL;
|
||||
aFont->weight = NS_FONT_WEIGHT_NORMAL;
|
||||
|
Loading…
Reference in New Issue
Block a user