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.
Created attachment 66779 [details] Proposed patch
Committed r66923: <http://trac.webkit.org/changeset/66923>