Closed Bug 1004469 Opened 10 years ago Closed 10 years ago

Apply scale to both width and height in canvas skia max size check

Categories

(Core :: Graphics: Canvas2D, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla32

People

(Reporter: bkelly, Assigned: bkelly)

References

()

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #999841 +++

Bug 999841 took the dpi scale into account when calculating the screen-based size threshold for enabling skia for a canvas.  It, however, only applied the scale to one dimension.  The scale needs to be applied to both the width and the height.
Attachment #8415869 - Flags: review?(snorp) → review+
https://hg.mozilla.org/mozilla-central/rev/e82994060927
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in before you can comment on or make changes to this bug.