From 734ba628fe59b69d2eb46bbfacf2e06b718d5baf Mon Sep 17 00:00:00 2001 From: "bryner%brianryner.com" Date: Sat, 15 Nov 2003 09:20:33 +0000 Subject: [PATCH] it's been a long day --- content/svg/content/src/nsSVGAttributes.cpp | 11 +++++++---- content/svg/content/src/nsSVGElement.cpp | 3 ++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/content/svg/content/src/nsSVGAttributes.cpp b/content/svg/content/src/nsSVGAttributes.cpp index 7c0f9e2a616f..e9940fce8e7e 100644 --- a/content/svg/content/src/nsSVGAttributes.cpp +++ b/content/svg/content/src/nsSVGAttributes.cpp @@ -212,7 +212,8 @@ nsSVGAttribute::GetNamespaceURI(nsAString& aNamespaceURI) NS_IMETHODIMP nsSVGAttribute::GetPrefix(nsAString& aPrefix) { - return mNodeInfo->GetPrefix(aPrefix); + mNodeInfo->GetPrefix(aPrefix); + return NS_OK; } NS_IMETHODIMP @@ -240,7 +241,8 @@ nsSVGAttribute::SetPrefix(const nsAString& aPrefix) NS_IMETHODIMP nsSVGAttribute::GetLocalName(nsAString& aLocalName) { - return mNodeInfo->GetLocalName(aLocalName); + mNodeInfo->GetLocalName(aLocalName); + return NS_OK; } NS_IMETHODIMP @@ -821,8 +823,9 @@ nsSVGAttributes::AddMappedSVGValue(nsIAtom* name, nsISupports* value) if (!mContent) return NS_ERROR_FAILURE; nsCOMPtr ni; - mContent->NodeInfoManager()->GetNodeInfo(name, nsnull, kNameSpaceID_None, - getter_AddRefs(ni)); + mContent->GetNodeInfo()->NodeInfoManager()->GetNodeInfo(name, nsnull, + kNameSpaceID_None, + getter_AddRefs(ni)); NS_ENSURE_TRUE(ni, NS_ERROR_FAILURE); nsSVGAttribute* attrib = nsnull; diff --git a/content/svg/content/src/nsSVGElement.cpp b/content/svg/content/src/nsSVGElement.cpp index c3cd5c692c98..d933a9b407b8 100644 --- a/content/svg/content/src/nsSVGElement.cpp +++ b/content/svg/content/src/nsSVGElement.cpp @@ -282,7 +282,8 @@ nsSVGElement::GetInlineStyleRule(nsIStyleRule** aStyleRule) NS_IMETHODIMP nsSVGElement::GetNodeName(nsAString& aNodeName) { - return mNodeInfo->GetQualifiedName(aNodeName); + mNodeInfo->GetQualifiedName(aNodeName); + return NS_OK; } NS_IMETHODIMP