API change to nsIDeviceContext

git-svn-id: svn://10.0.0.236/trunk@8643 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
1998-08-27 20:45:56 +00:00
parent 9c277134e0
commit 26782f0ba7
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;
}