[WebXR] Implement XRSession end event
Created attachment 407984 [details] Patch
Comment on attachment 407984 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=407984&action=review > Source/WebCore/Modules/webxr/XRSessionEvent.h:39 > + static Ref<XRSessionEvent> create(const AtomString&, RefPtr<WebXRSession>&&); In new code I suggest we start using the Init structures in our C++ code instead of having multiple constructors and create functions in all our event classes. I tried his and it seemed to come out pretty good but the patch to do it across the board is huge.
Comment on attachment 407984 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=407984&action=review >> Source/WebCore/Modules/webxr/XRSessionEvent.h:39 >> + static Ref<XRSessionEvent> create(const AtomString&, RefPtr<WebXRSession>&&); > > In new code I suggest we start using the Init structures in our C++ code instead of having multiple constructors and create functions in all our event classes. I tried his and it seemed to come out pretty good but the patch to do it across the board is huge. OK, I'll replace it before landing.
Committed r266782: <https://trac.webkit.org/changeset/266782>
<rdar://problem/68575993>