mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
2439 [PP] Links are not underlined correctly
This commit is contained in:
parent
d71b7f88d5
commit
4217faf63a
@ -195,8 +195,8 @@ nsFontMetricsMac :: GetUnderline(nscoord& aOffset, nscoord& aSize)
|
||||
{
|
||||
float dev2app;
|
||||
mContext->GetDevUnitsToAppUnits(dev2app);
|
||||
aOffset = - dev2app;
|
||||
aSize = dev2app;
|
||||
aOffset = -NSToCoordRound( dev2app );
|
||||
aSize = NSToCoordRound( dev2app );
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user