fixing linux bustage. got caught by a platform difference in handling

of nsCOMPtr and the equality operator


git-svn-id: svn://10.0.0.236/trunk@59509 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
buster%netscape.com 2000-02-02 08:28:37 +00:00
parent faf4d905b4
commit d64562d6fd
2 changed files with 2 additions and 2 deletions

View File

@ -1799,7 +1799,7 @@ nsLineLayout::ComputeQuirksModeLineHeightData(nsIRenderingContext *aRC,
{
nsCOMPtr<nsIAtom> tag;
content->GetTag(*(getter_AddRefs(tag)));
if (nsHTMLAtoms::font==tag)
if (nsHTMLAtoms::font==tag.get())
{
nsAutoString resultString;
nsresult result;

View File

@ -1799,7 +1799,7 @@ nsLineLayout::ComputeQuirksModeLineHeightData(nsIRenderingContext *aRC,
{
nsCOMPtr<nsIAtom> tag;
content->GetTag(*(getter_AddRefs(tag)));
if (nsHTMLAtoms::font==tag)
if (nsHTMLAtoms::font==tag.get())
{
nsAutoString resultString;
nsresult result;