hoarkage fix. need a.get on pointer compare on unix for comptrs

git-svn-id: svn://10.0.0.236/trunk@79107 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mjudge%netscape.com
2000-09-14 09:42:18 +00:00
parent 7209c00f72
commit 688ab7f97f
2 changed files with 2 additions and 2 deletions

View File

@@ -1028,7 +1028,7 @@ nsFrame::HandlePress(nsIPresContext* aPresContext,
// are we an anchor? If so, bail out now!
nsCOMPtr<nsIAtom> tag;
content->GetTag(*getter_AddRefs(tag));
if ( tag == nsHTMLAtoms::a )
if ( tag.get() == nsHTMLAtoms::a )
return NS_OK;
// now try the parent

View File

@@ -1028,7 +1028,7 @@ nsFrame::HandlePress(nsIPresContext* aPresContext,
// are we an anchor? If so, bail out now!
nsCOMPtr<nsIAtom> tag;
content->GetTag(*getter_AddRefs(tag));
if ( tag == nsHTMLAtoms::a )
if ( tag.get() == nsHTMLAtoms::a )
return NS_OK;
// now try the parent