Closed Bug 1174367 Opened 9 years ago Closed 9 years ago

Remove the #xywh code from shared/js/media/crop_resize_rotate.js

Categories

(Firefox OS Graveyard :: Gaia::Shared, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: djf, Assigned: djf)

Details

Attachments

(1 file)

(deleted), text/x-github-pull-request
pdahiya
: review+
Details
The #xywh media fragment has never actually worked, apparently. So I should remove the code in the cropResizeRotate() utility that attempts to use it.
Assignee: nobody → dflanagan
Attached file link to patch on github (deleted) —
Punam, I think that crop_resize_rotate.js is only being used by the Gallery app, so I'm asking for your review of this patch. This removes the code that attempts to use the #xywh media fragment. It turns out that it has never worked, and images were always being decoded fullsize rather than pre-cropped, so removing the code doesn't change anything it just makes our code simpler. There's no rush on this review.
Attachment #8623923 - Flags: review?(pdahiya)
Comment on attachment 8623923 [details] link to patch on github Hi David Patch looks good and has my r+. One nit left in github about removing not needed comment and with that updated patch looks good to land. Thanks!
Attachment #8623923 - Flags: review?(pdahiya) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: