mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-31 11:01:40 +00:00
More tweaks to broadcasters.
This commit is contained in:
parent
441af16eda
commit
97609c195b
@ -1680,8 +1680,10 @@ RDFElementImpl::SetAttribute(PRInt32 aNameSpaceID,
|
||||
if (xulListener->mAttribute == aString) {
|
||||
nsCOMPtr<nsIDOMElement> element;
|
||||
element = do_QueryInterface(xulListener->mListener);
|
||||
if (element)
|
||||
if (element) {
|
||||
// First we set the attribute in the observer.
|
||||
element->SetAttribute(aString, aValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1680,8 +1680,10 @@ RDFElementImpl::SetAttribute(PRInt32 aNameSpaceID,
|
||||
if (xulListener->mAttribute == aString) {
|
||||
nsCOMPtr<nsIDOMElement> element;
|
||||
element = do_QueryInterface(xulListener->mListener);
|
||||
if (element)
|
||||
if (element) {
|
||||
// First we set the attribute in the observer.
|
||||
element->SetAttribute(aString, aValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1680,8 +1680,10 @@ RDFElementImpl::SetAttribute(PRInt32 aNameSpaceID,
|
||||
if (xulListener->mAttribute == aString) {
|
||||
nsCOMPtr<nsIDOMElement> element;
|
||||
element = do_QueryInterface(xulListener->mListener);
|
||||
if (element)
|
||||
if (element) {
|
||||
// First we set the attribute in the observer.
|
||||
element->SetAttribute(aString, aValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user