mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 19:09:49 +00:00
Interface change
This commit is contained in:
parent
b0e5b61885
commit
47e1554683
@ -528,7 +528,7 @@ nscolor nsRenderingContextUnix :: GetColor() const
|
||||
void nsRenderingContextUnix :: SetFont(const nsFont& aFont)
|
||||
{
|
||||
NS_IF_RELEASE(mFontMetrics);
|
||||
mFontMetrics = mFontCache->GetMetricsFor(aFont);
|
||||
mFontCache->GetMetricsFor(aFont, mFontMetrics);
|
||||
|
||||
if (mFontMetrics)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user