зеркало из https://github.com/mozilla/pjs.git
fixing linux bustage. got caught by a platform difference in handling
of nsCOMPtr and the equality operator
This commit is contained in:
Родитель
e50de956b3
Коммит
cc936727dd
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче