Closed Bug 699147 Opened 14 years ago Closed 14 years ago

Simplify length list parsing

Categories

(Core :: SVG, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla11

People

(Reporter: longsonr, Assigned: longsonr)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Avoid changing from utf16 to utf8 and back again.
Attachment #571374 - Attachment is patch: true
Attachment #571374 - Flags: review?(jwatt)
Comment on attachment 571374 [details] [diff] [review] patch Change this line: >+ temp.AppendItem(length); to: >- if (!temp.AppendItem(length)) { >- return NS_ERROR_OUT_OF_MEMORY; >- } since AppendItem is allocation fallible, and r=jwatt.
Attachment #571374 - Flags: review?(jwatt) → review+
I'll change the SVGNumberList parsing to return NS_ERROR_OUT_OF_MEMORY for appendItem then.
perfect, thanks!
Assignee: nobody → longsonr
Flags: in-testsuite-
Target Milestone: --- → mozilla11
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: