Closed Bug 565596 Opened 10 years ago Closed 10 years ago

nsCaret::PaintCaret should only call GetCaretFrame ifdef DEBUG

Categories

(Core :: Layout, defect, trivial)

defect
Not set
trivial

Tracking

()

RESOLVED INVALID

People

(Reporter: timeless, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: coverity)

543 void nsCaret::PaintCaret(nsDisplayListBuilder *aBuilder,

552   nsIFrame* frame = GetCaretFrame(&contentOffset);
553   NS_ASSERTION(frame == aForFrame, "We're referring different frame");
oops, sorry, contentOffset is still needed. I really want a way to mark return values as for debug only, then I could actually 'fix' the warnings i'm reading instead of getting confused by them.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.