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