Apply firehose to cairo-less cocoa widget builds aka bustage fix for Camino

git-svn-id: svn://10.0.0.236/trunk@192577 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mark%moxienet.com 2006-03-18 06:11:48 +00:00
parent 6fab61d6b2
commit dfd5f805d8
2 changed files with 2 additions and 2 deletions

View File

@ -88,6 +88,7 @@ EXPORTS = \
nsIDrawingSurfaceMac.h \
nsGfxUtils.h \
nsCarbonHelpers.h \
nsRegionPool.h \
$(NULL)
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))

View File

@ -771,9 +771,8 @@ NS_IMETHODIMP nsChildView::SetFont(const nsFont &aFont)
#ifdef MOZ_CAIRO_GFX
return NS_ERROR_NOT_IMPLEMENTED;
#else
NS_IF_RELEASE(mFontMetrics);
if (mContext)
mContext->GetMetricsFor(aFont, mFontMetrics);
mContext->GetMetricsFor(aFont, *getter_AddRefs(mFontMetrics));
return NS_OK;
#endif
}