Right now it always makes PlatformCALayerMac, but it should instead ask its owning GraphicsLayer to make an appropriate PlatformCALayer, be it Mac, Win, or Remote.
Created attachment 215332 [details] patch Not sure if I should move LayerType enum to a different file to get rid of this nasty casting, or if there's a better solution.
Created attachment 215355 [details] patch
Comment on attachment 215355 [details] patch Let's call it "compatible".
http://trac.webkit.org/changeset/158160