Closed Bug 1565566 Opened 5 years ago Closed 5 years ago

blob: fix convert_from_bytes

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: jrmuizel, Assigned: jrmuizel)

Details

Attachments

(1 file)

This makes convert_from_bytes more sane

This minimizes regret by requiring T: Copy and switches
to read_unaligned() because the pointer can be unaligned.

Pushed by jmuizelaar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9aec8e6d823a blob: Improve convert_from_bytes. r=Gankro
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Assignee: nobody → jmuizelaar
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: