From 89d2be8fe22e33e9713f7075c154987f17f2d5e4 Mon Sep 17 00:00:00 2001 From: Ginn Chen Date: Mon, 18 Aug 2008 16:31:53 +0800 Subject: [PATCH] Bug 449751 gfxFont.cpp failed to compile with Sun Studio 12 r=jdaggett sr=pavlov --- gfx/thebes/src/gfxFont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/thebes/src/gfxFont.cpp b/gfx/thebes/src/gfxFont.cpp index 667dd4933..0c10224fa 100644 --- a/gfx/thebes/src/gfxFont.cpp +++ b/gfx/thebes/src/gfxFont.cpp @@ -1123,7 +1123,7 @@ void gfxFontGroup::ComputeRanges(nsTArray& aRanges, const PRUnicha } // find the font for this char - nsRefPtr font = FindFontForChar(ch, prevCh, nextCh, (aRanges.Length() == 0) ? nsnull : aRanges[aRanges.Length() - 1].font); + nsRefPtr font = FindFontForChar(ch, prevCh, nextCh, (aRanges.Length() == 0) ? nsnull : aRanges[aRanges.Length() - 1].font.get()); prevCh = ch; -- 2.11.4.GIT