mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 12:13:22 +00:00
Changed nsFontMetrixWin to nsFontMetrixUnix for GetWidth member function.
This commit is contained in:
parent
aa71eea6d7
commit
bd63c94b70
@ -317,7 +317,7 @@ nscoord nsFontMetricsUnix :: GetWidth(const PRUnichar *aString, PRUint32 aLength
|
||||
}
|
||||
|
||||
// XXX this needs to be implemented
|
||||
nscoord nsFontMetricsWin :: GetWidth(nsIDeviceContext *aContext, const nsString& aString)
|
||||
nscoord nsFontMetricsUnix :: GetWidth(nsIDeviceContext *aContext, const nsString& aString)
|
||||
{
|
||||
return GetWidth(aString.GetUnicode(), aString.Length());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user