Closed Bug 1171508 Opened 9 years ago Closed 9 years ago

Properly implement BitmapData#clone

Categories

(Firefox Graveyard :: Shumway, defect)

defect
Not set
normal

Tracking

(firefox41 affected)

RESOLVED FIXED
Tracking Status
firefox41 --- affected

People

(Reporter: till, Assigned: till)

References

Details

Attachments

(1 file)

(deleted), text/x-github-pull-request
Details
BitmapData#clone currently doesn't work for bitmapDatas whose buffers only exists on the GFX side (i.e., all non-script-created bitmapDatas). Additionally, it doesn't make the resulting bitmapData independent from the source: the two instances end up sharing the same buffer, so changes to one get applied to the other, too. Patch coming up.
Attached file pull request (deleted) —
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: