Closed
Bug 233587
Opened 21 years ago
Closed 21 years ago
small nsImageFrame cleanup
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Core
Layout: Images, Video, and HTML Frames
Tracking
()
RESOLVED
FIXED
mozilla1.7alpha
People
(Reporter: Biesinger, Assigned: Biesinger)
Details
Attachments
(2 files)
8.10 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
6.85 KB,
patch
|
Details | Diff | Splinter Review |
GetAnchorHREFAndTarget can just use nsILink instead of nsIDOMHTMLAnchorElement,
with the advantage that it gives back an nsIURI*.
Assignee | ||
Comment 1•21 years ago
|
||
Assignee | ||
Comment 2•21 years ago
|
||
for easier reviewing, diff -w version of the above patch
Assignee | ||
Updated•21 years ago
|
Attachment #140992 -
Flags: superreview?(bzbarsky)
Attachment #140992 -
Flags: review?(bzbarsky)
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.7alpha
Comment 3•21 years ago
|
||
Comment on attachment 140992 [details] [diff] [review]
patch
>Index: nsImageFrame.h
>+ // Not virtual, since nsImageFrame is no nsLeafFrame.
>+ void GetDesiredSize(nsIPresContext* aPresContext,
>+ const nsHTMLReflowState& aReflowState,
>+ nsHTMLReflowMetrics& aDesiredSize);
Hmm... leave this virtual, please? In case a subclass needs to override?
r+sr=bzbarsky with that.
Attachment #140992 -
Flags: superreview?(bzbarsky)
Attachment #140992 -
Flags: superreview+
Attachment #140992 -
Flags: review?(bzbarsky)
Attachment #140992 -
Flags: review+
Assignee | ||
Comment 4•21 years ago
|
||
ok, checked in, and left that function virtual.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•