API change to nsIDeviceContext

This commit is contained in:
troy%netscape.com 1998-08-27 20:45:56 +00:00
parent c8e5750085
commit 4b29cb414e
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@ nsPresContext::GetMetricsFor(const nsFont& aFont)
nsIFontMetrics* metrics;
mDeviceContext->GetMetricsFor(aFont, metrics);
return NS_OK;
return metrics;
}
return nsnull;
}

View File

@ -247,7 +247,7 @@ nsPresContext::GetMetricsFor(const nsFont& aFont)
nsIFontMetrics* metrics;
mDeviceContext->GetMetricsFor(aFont, metrics);
return NS_OK;
return metrics;
}
return nsnull;
}