RetainPtr<PlatformLayer> is Cocoa only.
Created attachment 393320 [details] WIP Patch
Created attachment 394096 [details] Patch
Committed r258781: <https://trac.webkit.org/changeset/258781> All reviewed patches have been landed. Closing bug and clearing flags on attachment 394096 [details].
<rdar://problem/60701050>