summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/MediaKeyEvent.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/MediaKeyEvent.h')
-rw-r--r--Source/WebCore/html/MediaKeyEvent.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/WebCore/html/MediaKeyEvent.h b/Source/WebCore/html/MediaKeyEvent.h
index 774de30da..b9f058277 100644
--- a/Source/WebCore/html/MediaKeyEvent.h
+++ b/Source/WebCore/html/MediaKeyEvent.h
@@ -10,10 +10,10 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
@@ -45,18 +45,18 @@ struct MediaKeyEventInit : public EventInit {
unsigned short systemCode;
};
-class MediaKeyEvent final : public Event {
+class MediaKeyEvent : public Event {
public:
virtual ~MediaKeyEvent();
- static Ref<MediaKeyEvent> create()
+ static PassRefPtr<MediaKeyEvent> create()
{
- return adoptRef(*new MediaKeyEvent);
+ return adoptRef(new MediaKeyEvent);
}
- static Ref<MediaKeyEvent> create(const AtomicString& type, const MediaKeyEventInit& initializer)
+ static PassRefPtr<MediaKeyEvent> create(const AtomicString& type, const MediaKeyEventInit& initializer)
{
- return adoptRef(*new MediaKeyEvent(type, initializer));
+ return adoptRef(new MediaKeyEvent(type, initializer));
}
virtual EventInterface eventInterface() const override;