Taking a stab. r=joki

This commit is contained in:
hyatt%netscape.com 2000-09-15 07:34:44 +00:00
parent df065dec7e
commit 911aab8e52
2 changed files with 4 additions and 4 deletions

View File

@ -2539,7 +2539,7 @@ nsEventStateManager::SetContentState(nsIContent *aContent, PRInt32 aState)
parent->GetParent(*getter_AddRefs(newHover));
if (newHover && newHover != commonHoverParent) {
newHover->GetParent(*getter_AddRefs(parent));
document->ContentStatesChanged(newHover, parent.get() == commonHoverParent ? nsnull : parent);
document->ContentStatesChanged(newHover, (parent.get() == commonHoverParent) ? nsnull : parent);
}
else {
break;
@ -2555,7 +2555,7 @@ nsEventStateManager::SetContentState(nsIContent *aContent, PRInt32 aState)
parent->GetParent(*getter_AddRefs(oldHover));
if (oldHover && oldHover != commonHoverParent) {
oldHover->GetParent(*getter_AddRefs(parent));
document->ContentStatesChanged(oldHover, parent.get() == commonHoverParent ? nsnull : parent);
document->ContentStatesChanged(oldHover, (parent.get() == commonHoverParent) ? nsnull : parent);
}
else {
break;

View File

@ -2539,7 +2539,7 @@ nsEventStateManager::SetContentState(nsIContent *aContent, PRInt32 aState)
parent->GetParent(*getter_AddRefs(newHover));
if (newHover && newHover != commonHoverParent) {
newHover->GetParent(*getter_AddRefs(parent));
document->ContentStatesChanged(newHover, parent.get() == commonHoverParent ? nsnull : parent);
document->ContentStatesChanged(newHover, (parent.get() == commonHoverParent) ? nsnull : parent);
}
else {
break;
@ -2555,7 +2555,7 @@ nsEventStateManager::SetContentState(nsIContent *aContent, PRInt32 aState)
parent->GetParent(*getter_AddRefs(oldHover));
if (oldHover && oldHover != commonHoverParent) {
oldHover->GetParent(*getter_AddRefs(parent));
document->ContentStatesChanged(oldHover, parent.get() == commonHoverParent ? nsnull : parent);
document->ContentStatesChanged(oldHover, (parent.get() == commonHoverParent) ? nsnull : parent);
}
else {
break;