зеркало из https://github.com/mozilla/pjs.git
Fix Unix bustage on previous checking for bug # 6778.
This commit is contained in:
Родитель
92ccf433f5
Коммит
d4b3602019
|
@ -1046,7 +1046,7 @@ RDFGenericBuilderImpl::CreateWidgetItem(nsIContent *aElement, nsIRDFResource *aP
|
|||
nsCOMPtr<nsIAtom> tag;
|
||||
if (NS_SUCCEEDED(rv = aElement->GetTag(*getter_AddRefs(tag))))
|
||||
{
|
||||
if (tag.get() == rootAtom)
|
||||
if (tag == rootAtom)
|
||||
{
|
||||
isRoot = PR_TRUE;
|
||||
}
|
||||
|
|
|
@ -1046,7 +1046,7 @@ RDFGenericBuilderImpl::CreateWidgetItem(nsIContent *aElement, nsIRDFResource *aP
|
|||
nsCOMPtr<nsIAtom> tag;
|
||||
if (NS_SUCCEEDED(rv = aElement->GetTag(*getter_AddRefs(tag))))
|
||||
{
|
||||
if (tag.get() == rootAtom)
|
||||
if (tag == rootAtom)
|
||||
{
|
||||
isRoot = PR_TRUE;
|
||||
}
|
||||
|
|
|
@ -1046,7 +1046,7 @@ RDFGenericBuilderImpl::CreateWidgetItem(nsIContent *aElement, nsIRDFResource *aP
|
|||
nsCOMPtr<nsIAtom> tag;
|
||||
if (NS_SUCCEEDED(rv = aElement->GetTag(*getter_AddRefs(tag))))
|
||||
{
|
||||
if (tag.get() == rootAtom)
|
||||
if (tag == rootAtom)
|
||||
{
|
||||
isRoot = PR_TRUE;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче