mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 03:49:42 +00:00
API change to nsIDeviceContext
This commit is contained in:
parent
c8e5750085
commit
4b29cb414e
@ -247,7 +247,7 @@ nsPresContext::GetMetricsFor(const nsFont& aFont)
|
||||
nsIFontMetrics* metrics;
|
||||
|
||||
mDeviceContext->GetMetricsFor(aFont, metrics);
|
||||
return NS_OK;
|
||||
return metrics;
|
||||
}
|
||||
return nsnull;
|
||||
}
|
||||
|
@ -247,7 +247,7 @@ nsPresContext::GetMetricsFor(const nsFont& aFont)
|
||||
nsIFontMetrics* metrics;
|
||||
|
||||
mDeviceContext->GetMetricsFor(aFont, metrics);
|
||||
return NS_OK;
|
||||
return metrics;
|
||||
}
|
||||
return nsnull;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user