зеркало из 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;
|
nsCOMPtr<nsIAtom> tag;
|
||||||
content->GetTag(*(getter_AddRefs(tag)));
|
content->GetTag(*(getter_AddRefs(tag)));
|
||||||
if (nsHTMLAtoms::font==tag)
|
if (nsHTMLAtoms::font==tag.get())
|
||||||
{
|
{
|
||||||
nsAutoString resultString;
|
nsAutoString resultString;
|
||||||
nsresult result;
|
nsresult result;
|
||||||
|
|
|
@ -1799,7 +1799,7 @@ nsLineLayout::ComputeQuirksModeLineHeightData(nsIRenderingContext *aRC,
|
||||||
{
|
{
|
||||||
nsCOMPtr<nsIAtom> tag;
|
nsCOMPtr<nsIAtom> tag;
|
||||||
content->GetTag(*(getter_AddRefs(tag)));
|
content->GetTag(*(getter_AddRefs(tag)));
|
||||||
if (nsHTMLAtoms::font==tag)
|
if (nsHTMLAtoms::font==tag.get())
|
||||||
{
|
{
|
||||||
nsAutoString resultString;
|
nsAutoString resultString;
|
||||||
nsresult result;
|
nsresult result;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче