Closed Bug 264370 Opened 20 years ago Closed 20 years ago

implement SVGDocument.rootElement

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: tor, Assigned: tor)

Details

Attachments

(1 file)

 
Attachment #162080 - Flags: review?(alex)
Attachment #162080 - Flags: review?(alex) → review+
Checking in nsSVGDocument.cpp;
/cvsroot/mozilla/content/svg/document/src/nsSVGDocument.cpp,v  <-- 
nsSVGDocument.cpp
new revision: 1.16; previous revision: 1.15
done
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Wouldn't this have been better as simply

NS_IMETHODIMP
nsSVGDocument::GetRootElement(nsIDOMSVGSVGElement** aRootElement) {
  return CallQueryInterface(mRootContent, aRootElement);
}
?

One addref and error reporting.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: