mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 11:28:38 +00:00
Taking a stab. r=joki
This commit is contained in:
parent
df065dec7e
commit
911aab8e52
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user