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:
parent
faf4d905b4
commit
d64562d6fd
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user