Closed Bug 121861 Opened 23 years ago Closed 23 years ago

nsHTMLImageElement::SetSrc does unnecessary size calculations

Categories

(Core :: DOM: Core & HTML, defect, P2)

defect

Tracking

()

VERIFIED FIXED
mozilla0.9.9

People

(Reporter: bzbarsky, Assigned: jst)

Details

(Whiteboard: [HAVE FIX])

Attachments

(1 file)

When pavlov first checked in libpr0n, the size calculations became unnecessary,
since the libpr0n loading code does not use the size. Version 1.80 of the file
is the first to have the new code (in #ifdef), but the size stuff was not placed
in #ifndef USE_IMG2.  Thus it never got removed...
Reviews?
Status: NEW → ASSIGNED
Component: DOM Core → DOM HTML
Priority: -- → P2
Whiteboard: [HAVE FIX]
Target Milestone: --- → mozilla0.9.9
Comment on attachment 66577 [details] [diff] [review]
Remove dead code.

r=bzbarsky
Attachment #66577 - Flags: review+
Keywords: nsbeta1
Comment on attachment 66577 [details] [diff] [review]
Remove dead code.

sr=dveditz
Attachment #66577 - Flags: superreview+
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
verified fixed. patch checked in
Status: RESOLVED → VERIFIED
Component: DOM: HTML → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: