Closed Bug 575648 Opened 14 years ago Closed 14 years ago

[e10s] confusing use of AppUnitsToIntCSSPixels in DocumentRendererChild.cpp

Categories

(Core :: IPC, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
Tracking Status
fennec - ---

People

(Reporter: dougt, Unassigned)

References

Details

>+ _width = nsPresContext::AppUnitsToIntCSSPixels(w); >+ _height = nsPresContext::AppUnitsToIntCSSPixels(h); Really? If the args are app units, shouldn't they be nscoord instead of PRInt32? This seems to apply throughout here. Should there be sanity checks for negative w and h here?
tracking-fennec: --- → ?
Sorry, missed this comment yesterday. We'd probably hit a cairo assertion for negative w/h and get back an invalid cairo surface, but this is dead code walking so I'm not sure how much we care.
chris, should we just wontfix
tracking-fennec: ? → 2.0-
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.