Closed Bug 307111 Opened 19 years ago Closed 19 years ago

[FIX]nsSimplePageSequenceFrame::Paint does not override nsIFrame::Paint

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: Biesinger, Assigned: bzbarsky)

References

()

Details

Attachments

(1 file)

Instead it shadows it, because it's missing a flags parameter. I suspect that this is not what was intended. This is probably not too important, although this may mean that the white background isn't painted. It also sets the color of the rendering context twice: 982 aRenderingContext.SetColor(NS_RGB(255,255,255)); 983 984 985 if (NS_FRAME_PAINT_LAYER_BACKGROUND == aWhichLayer) { 986 nsRect rect = mRect; 987 aRenderingContext.SetColor(NS_RGB(255,255,255));
Yeah, this is odd... it's also been this way forever, so maybe this method is not even needed?
Let's delete it. We can resurrect it if we ever decide we want it.
Attached patch so thus?Splinter Review
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #205465 - Flags: superreview?(roc)
Attachment #205465 - Flags: review?(roc)
Priority: -- → P3
Summary: nsSimplePageSequenceFrame::Paint does not override nsIFrame::Paint → [FIX]nsSimplePageSequenceFrame::Paint does not override nsIFrame::Paint
Target Milestone: --- → mozilla1.9alpha
Attachment #205465 - Flags: superreview?(roc)
Attachment #205465 - Flags: superreview+
Attachment #205465 - Flags: review?(roc)
Attachment #205465 - Flags: review+
Fixed
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: