RESOLVED FIXED45329
[chromium] PlatformLayer's must get their owner reset when owner is destroyed
https://bugs.webkit.org/show_bug.cgi?id=45329
Summary [chromium] PlatformLayer's must get their owner reset when owner is destroyed
Vangelis Kokkevis
Reported 2010-09-07 15:40:05 PDT
A PlatformLayer's owner is a GraphicsLayer which holds a RefPtr to the PlatformLayer. PlatformLayer's can outlive their owning GraphicsLayer as other objects can also have references to them and therefore need to have their owner reset once that owner goes away. Failing to do so can result in accessing memory that has been freed.
Attachments
Proposed patch (1.44 KB, patch)
2010-09-07 15:47 PDT, Vangelis Kokkevis
fishd: review+
vangelis: commit-queue-
Vangelis Kokkevis
Comment 1 2010-09-07 15:47:11 PDT
Created attachment 66779 [details] Proposed patch
Vangelis Kokkevis
Comment 2 2010-09-07 16:06:09 PDT
Note You need to log in before you can comment on or make changes to this bug.