Make all ScriptWrappable IsoHeap-ed
[WebKit-https.git] / Source / WebCore / Modules / webvr / VRDisplayEvent.h
index 21ccb88..c9002bf 100644 (file)
@@ -31,8 +31,9 @@
 namespace WebCore {
 
 class VRDisplayEvent final : public Event {
+    WTF_MAKE_ISO_ALLOCATED(VRDisplayEvent);
 public:
-    static Ref<VRDisplayEvent> create(const AtomicString& type, const RefPtr<VRDisplay>& display, Optional<VRDisplayEventReason>&& reason)
+    static Ref<VRDisplayEvent> create(const AtomString& type, const RefPtr<VRDisplay>& display, Optional<VRDisplayEventReason>&& reason)
     {
         return adoptRef(*new VRDisplayEvent(type, display, WTFMove(reason)));
     }
@@ -42,7 +43,7 @@ public:
         Optional<VRDisplayEventReason> reason;
     };
 
-    static Ref<VRDisplayEvent> create(const AtomicString& type, const Init& initializer, IsTrusted isTrusted = IsTrusted::No)
+    static Ref<VRDisplayEvent> create(const AtomString& type, const Init& initializer, IsTrusted isTrusted = IsTrusted::No)
     {
         return adoptRef(*new VRDisplayEvent(type, initializer, isTrusted));
     }
@@ -53,8 +54,8 @@ public:
     const Optional<VRDisplayEventReason>& reason() const { return m_reason; }
 
 private:
-    VRDisplayEvent(const AtomicString&, const Init&, IsTrusted);
-    VRDisplayEvent(const AtomicString&, const RefPtr<VRDisplay>&, Optional<VRDisplayEventReason>&&);
+    VRDisplayEvent(const AtomString&, const Init&, IsTrusted);
+    VRDisplayEvent(const AtomString&, const RefPtr<VRDisplay>&, Optional<VRDisplayEventReason>&&);
 
     // Event
     EventInterface eventInterface() const override;