another try at working out the darn nsCOMPtr comparison for Linux

git-svn-id: svn://10.0.0.236/trunk@84981 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
buster%netscape.com 2001-01-16 23:23:02 +00:00
parent 9449edc972
commit 8467b00c60
2 changed files with 2 additions and 2 deletions

View File

@ -10946,7 +10946,7 @@ keepLooking:
// to the parent content.
nsCOMPtr<nsIContent> parentScope;
kidContent->GetBindingParent(getter_AddRefs(parentScope));
if (parentContent == kidContent.get() || IsFrameSpecial(kidFrame) ||
if (parentContent == kidContent || IsFrameSpecial(kidFrame) ||
(parentContent && (parentContent == parentScope.get())))
{
#ifdef NOISY_FINDFRAME

View File

@ -10946,7 +10946,7 @@ keepLooking:
// to the parent content.
nsCOMPtr<nsIContent> parentScope;
kidContent->GetBindingParent(getter_AddRefs(parentScope));
if (parentContent == kidContent.get() || IsFrameSpecial(kidFrame) ||
if (parentContent == kidContent || IsFrameSpecial(kidFrame) ||
(parentContent && (parentContent == parentScope.get())))
{
#ifdef NOISY_FINDFRAME