From 772f3c2f41d2966df13fe2b89cd5f98c9646ad56 Mon Sep 17 00:00:00 2001 From: "jst%mozilla.jstenback.com" Date: Sat, 3 Jul 2004 06:43:40 +0000 Subject: [PATCH] Landing fix for bug 248172. Don't loose namespace prefixes on attributes. r=jonas@sicking.cc, sr=jst@mozilla.jstenback.com, patch by peterv@propagandism.org git-svn-id: svn://10.0.0.236/branches/AVIARY_1_0_20040515_BRANCH@158714 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/html/content/src/nsGenericHTMLElement.cpp | 2 +- mozilla/content/xul/content/src/nsXULElement.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/content/html/content/src/nsGenericHTMLElement.cpp b/mozilla/content/html/content/src/nsGenericHTMLElement.cpp index 2e96ff6a8c9..30951a7b49b 100644 --- a/mozilla/content/html/content/src/nsGenericHTMLElement.cpp +++ b/mozilla/content/html/content/src/nsGenericHTMLElement.cpp @@ -1645,7 +1645,7 @@ nsGenericHTMLElement::SetAttrAndNotify(PRInt32 aNamespaceID, } else { nsCOMPtr ni; - rv = mNodeInfo->NodeInfoManager()->GetNodeInfo(aAttribute, nsnull, + rv = mNodeInfo->NodeInfoManager()->GetNodeInfo(aAttribute, aPrefix, aNamespaceID, getter_AddRefs(ni)); NS_ENSURE_SUCCESS(rv, rv); diff --git a/mozilla/content/xul/content/src/nsXULElement.cpp b/mozilla/content/xul/content/src/nsXULElement.cpp index 2906b8e3b0b..0e383732def 100644 --- a/mozilla/content/xul/content/src/nsXULElement.cpp +++ b/mozilla/content/xul/content/src/nsXULElement.cpp @@ -2174,7 +2174,7 @@ nsXULElement::SetAttrAndNotify(PRInt32 aNamespaceID, } else { nsCOMPtr ni; - rv = NodeInfo()->NodeInfoManager()->GetNodeInfo(aAttribute, nsnull, + rv = NodeInfo()->NodeInfoManager()->GetNodeInfo(aAttribute, aPrefix, aNamespaceID, getter_AddRefs(ni)); NS_ENSURE_SUCCESS(rv, rv);