Fix possible crash with animated layers in reflections
Created attachment 266308 [details] Patch
rdar://problem/23018612
Comment on attachment 266308 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=266308&action=review > Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp:3501 > + clearClonesOwner(m_layerClones.get()); > m_layerClones = nullptr; Since you are using a helper function, why not have it take std::unique_ptr<LayerMap>& and then it can do the nulling out too.
https://trac.webkit.org/changeset/192853