Fixing bustage -- bryner forgot to update these files

Bug 222134
This commit is contained in:
caillon%returnzero.com 2003-10-22 06:41:30 +00:00
Родитель 8e21fd8081
Коммит b3ef713aff
4 изменённых файлов: 12 добавлений и 14 удалений

Просмотреть файл

@ -636,8 +636,7 @@ nsSVGAttributes::SetAttr(nsINodeInfo* aNodeInfo,
}
if (document && NS_SUCCEEDED(rv)) {
nsCOMPtr<nsIBindingManager> bindingManager;
document->GetBindingManager(getter_AddRefs(bindingManager));
nsIBindingManager *bindingManager = document->GetBindingManager();
nsCOMPtr<nsIXBLBinding> binding;
bindingManager->GetBinding(mContent, getter_AddRefs(binding));
if (binding)
@ -741,8 +740,7 @@ nsSVGAttributes::UnsetAttr(PRInt32 aNameSpaceID, nsIAtom* aName,
RemoveElementAt(index);
if (document) {
nsCOMPtr<nsIBindingManager> bindingManager;
document->GetBindingManager(getter_AddRefs(bindingManager));
nsIBindingManager *bindingManager = document->GetBindingManager();
nsCOMPtr<nsIXBLBinding> binding;
bindingManager->GetBinding(mContent, getter_AddRefs(binding));
if (binding)

Просмотреть файл

@ -667,9 +667,9 @@ nsSVGElement::GetOwnerSVGElement(nsIDOMSVGSVGElement * *aOwnerSVGElement)
{
*aOwnerSVGElement = nsnull;
nsCOMPtr<nsIBindingManager> bindingManager;
nsIBindingManager *bindingManager = nsnull;
if (mDocument) {
mDocument->GetBindingManager(getter_AddRefs(bindingManager));
bindingManager = mDocument->GetBindingManager();
}
nsCOMPtr<nsIContent> parent;

Просмотреть файл

@ -113,9 +113,9 @@ NS_IMETHODIMP nsSVGGraphicElement::GetCTM(nsIDOMSVGMatrix **_retval)
{
nsCOMPtr<nsIDOMSVGMatrix> CTM;
nsCOMPtr<nsIBindingManager> bindingManager;
nsIBindingManager *bindingManager = nsnull;
if (mDocument) {
mDocument->GetBindingManager(getter_AddRefs(bindingManager));
bindingManager = mDocument->GetBindingManager();
}
nsCOMPtr<nsIContent> parent;
@ -188,9 +188,9 @@ NS_IMETHODIMP nsSVGGraphicElement::GetScreenCTM(nsIDOMSVGMatrix **_retval)
{
nsCOMPtr<nsIDOMSVGMatrix> screenCTM;
nsCOMPtr<nsIBindingManager> bindingManager;
nsIBindingManager *bindingManager = nsnull;
if (mDocument) {
mDocument->GetBindingManager(getter_AddRefs(bindingManager));
bindingManager = mDocument->GetBindingManager();
}
nsCOMPtr<nsIContent> parent;

Просмотреть файл

@ -786,9 +786,9 @@ nsSVGSVGElement::GetCTM(nsIDOMSVGMatrix **_retval)
{
nsCOMPtr<nsIDOMSVGMatrix> CTM;
nsCOMPtr<nsIBindingManager> bindingManager;
nsIBindingManager *bindingManager = nsnull;
if (mDocument) {
mDocument->GetBindingManager(getter_AddRefs(bindingManager));
bindingManager = mDocument->GetBindingManager();
}
nsCOMPtr<nsIContent> parent;
@ -859,9 +859,9 @@ nsSVGSVGElement::GetScreenCTM(nsIDOMSVGMatrix **_retval)
{
nsCOMPtr<nsIDOMSVGMatrix> screenCTM;
nsCOMPtr<nsIBindingManager> bindingManager;
nsIBindingManager *bindingManager = nsnull;
if (mDocument) {
mDocument->GetBindingManager(getter_AddRefs(bindingManager));
bindingManager = mDocument->GetBindingManager();
}
nsCOMPtr<nsIContent> parent;