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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user