<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[177264] trunk/Source</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/177264">177264</a></dd>
<dt>Author</dt> <dd>akling@apple.com</dd>
<dt>Date</dt> <dd>2014-12-14 04:23:31 -0800 (Sun, 14 Dec 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>Event construction helpers should return Ref instead of PassRefPtr.
<https://webkit.org/b/139625>
Reviewed by Antti Koivisto.
Change all the FooEvent::create() construction helpers to return Ref<FooEvent>
instead of PassRefPtr<FooEvent>.
This allows the compiler to omit null checks at each call site, since we know
that these functions always return valid objects.
* Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h:
(WebCore::WebKitPlaybackTargetAvailabilityEvent::create):
* Modules/encryptedmedia/MediaKeyMessageEvent.h:
(WebCore::MediaKeyMessageEvent::create):
* Modules/encryptedmedia/MediaKeyNeededEvent.h:
(WebCore::MediaKeyNeededEvent::create):
* Modules/gamepad/GamepadEvent.h:
(WebCore::GamepadEvent::create):
* Modules/indexeddb/IDBVersionChangeEvent.h:
(WebCore::IDBVersionChangeEvent::create):
* Modules/indieui/UIRequestEvent.cpp:
(WebCore::UIRequestEvent::create):
* Modules/indieui/UIRequestEvent.h:
* Modules/mediastream/MediaStreamEvent.cpp:
(WebCore::MediaStreamEvent::create):
* Modules/mediastream/MediaStreamEvent.h:
* Modules/mediastream/MediaStreamTrackEvent.cpp:
(WebCore::MediaStreamTrackEvent::create):
* Modules/mediastream/MediaStreamTrackEvent.h:
* Modules/mediastream/RTCDTMFToneChangeEvent.cpp:
(WebCore::RTCDTMFToneChangeEvent::create):
* Modules/mediastream/RTCDTMFToneChangeEvent.h:
* Modules/mediastream/RTCDataChannelEvent.cpp:
(WebCore::RTCDataChannelEvent::create):
* Modules/mediastream/RTCDataChannelEvent.h:
* Modules/mediastream/RTCIceCandidateEvent.cpp:
(WebCore::RTCIceCandidateEvent::create):
* Modules/mediastream/RTCIceCandidateEvent.h:
* Modules/speech/SpeechSynthesisEvent.cpp:
(WebCore::SpeechSynthesisEvent::create):
* Modules/speech/SpeechSynthesisEvent.h:
* Modules/webaudio/AudioProcessingEvent.cpp:
(WebCore::AudioProcessingEvent::create):
* Modules/webaudio/AudioProcessingEvent.h:
* Modules/webaudio/OfflineAudioCompletionEvent.cpp:
(WebCore::OfflineAudioCompletionEvent::create):
* Modules/webaudio/OfflineAudioCompletionEvent.h:
* Modules/websockets/CloseEvent.h:
(WebCore::CloseEvent::create):
* dom/AnimationEvent.h:
* dom/AutocompleteErrorEvent.h:
* dom/BeforeLoadEvent.h:
* dom/BeforeTextInsertedEvent.h:
* dom/BeforeUnloadEvent.h:
* dom/ClipboardEvent.h:
* dom/CompositionEvent.h:
* dom/CustomEvent.h:
* dom/DeviceMotionEvent.h:
* dom/DeviceOrientationEvent.h:
* dom/ErrorEvent.h:
* dom/Event.h:
(WebCore::Event::create):
* dom/FocusEvent.h:
* dom/HashChangeEvent.h:
* dom/KeyboardEvent.h:
* dom/MessageEvent.h:
* dom/MouseEvent.cpp:
(WebCore::MouseEvent::create):
(WebCore::SimulatedMouseEvent::create):
* dom/MouseEvent.h:
(WebCore::MouseEvent::create):
* dom/MutationEvent.h:
* dom/OverflowEvent.h:
* dom/PageTransitionEvent.h:
* dom/PopStateEvent.cpp:
(WebCore::PopStateEvent::create):
* dom/PopStateEvent.h:
* dom/ProgressEvent.h:
(WebCore::ProgressEvent::create):
* dom/TextEvent.cpp:
(WebCore::TextEvent::create):
(WebCore::TextEvent::createForPlainTextPaste):
(WebCore::TextEvent::createForFragmentPaste):
(WebCore::TextEvent::createForDrop):
(WebCore::TextEvent::createForDictation):
* dom/TextEvent.h:
* dom/TouchEvent.h:
* dom/TransitionEvent.h:
* dom/UIEvent.h:
(WebCore::UIEvent::create):
* dom/WebKitAnimationEvent.h:
* dom/WebKitTransitionEvent.h:
* dom/WheelEvent.h:
* html/MediaKeyEvent.h:
* html/canvas/WebGLContextEvent.h:
* html/track/TrackEvent.h:
* storage/StorageEvent.cpp:
(WebCore::StorageEvent::create):
* storage/StorageEvent.h:
* svg/SVGZoomEvent.h:
(WebCore::SVGZoomEvent::create):
* xml/XMLHttpRequestProgressEvent.h:
(WebCore::XMLHttpRequestProgressEvent::create):</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesairplayWebKitPlaybackTargetAvailabilityEventh">trunk/Source/WebCore/Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h</a></li>
<li><a href="#trunkSourceWebCoreModulesencryptedmediaMediaKeyMessageEventh">trunk/Source/WebCore/Modules/encryptedmedia/MediaKeyMessageEvent.h</a></li>
<li><a href="#trunkSourceWebCoreModulesencryptedmediaMediaKeyNeededEventh">trunk/Source/WebCore/Modules/encryptedmedia/MediaKeyNeededEvent.h</a></li>
<li><a href="#trunkSourceWebCoreModulesgamepadGamepadEventh">trunk/Source/WebCore/Modules/gamepad/GamepadEvent.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBVersionChangeEventh">trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindieuiUIRequestEventcpp">trunk/Source/WebCore/Modules/indieui/UIRequestEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindieuiUIRequestEventh">trunk/Source/WebCore/Modules/indieui/UIRequestEvent.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamMediaStreamEventcpp">trunk/Source/WebCore/Modules/mediastream/MediaStreamEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamMediaStreamEventh">trunk/Source/WebCore/Modules/mediastream/MediaStreamEvent.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamMediaStreamTrackEventcpp">trunk/Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamMediaStreamTrackEventh">trunk/Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCDTMFToneChangeEventcpp">trunk/Source/WebCore/Modules/mediastream/RTCDTMFToneChangeEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCDTMFToneChangeEventh">trunk/Source/WebCore/Modules/mediastream/RTCDTMFToneChangeEvent.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCDataChannelEventcpp">trunk/Source/WebCore/Modules/mediastream/RTCDataChannelEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCDataChannelEventh">trunk/Source/WebCore/Modules/mediastream/RTCDataChannelEvent.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCIceCandidateEventcpp">trunk/Source/WebCore/Modules/mediastream/RTCIceCandidateEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCIceCandidateEventh">trunk/Source/WebCore/Modules/mediastream/RTCIceCandidateEvent.h</a></li>
<li><a href="#trunkSourceWebCoreModulesspeechSpeechSynthesisEventcpp">trunk/Source/WebCore/Modules/speech/SpeechSynthesisEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesspeechSpeechSynthesisEventh">trunk/Source/WebCore/Modules/speech/SpeechSynthesisEvent.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioAudioProcessingEventcpp">trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioAudioProcessingEventh">trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioOfflineAudioCompletionEventcpp">trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioOfflineAudioCompletionEventh">trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebsocketsCloseEventh">trunk/Source/WebCore/Modules/websockets/CloseEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomAnimationEventh">trunk/Source/WebCore/dom/AnimationEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomAutocompleteErrorEventh">trunk/Source/WebCore/dom/AutocompleteErrorEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomBeforeLoadEventh">trunk/Source/WebCore/dom/BeforeLoadEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomBeforeTextInsertedEventh">trunk/Source/WebCore/dom/BeforeTextInsertedEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomBeforeUnloadEventh">trunk/Source/WebCore/dom/BeforeUnloadEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomClipboardEventh">trunk/Source/WebCore/dom/ClipboardEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomCompositionEventh">trunk/Source/WebCore/dom/CompositionEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomCustomEventh">trunk/Source/WebCore/dom/CustomEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomDeviceMotionEventh">trunk/Source/WebCore/dom/DeviceMotionEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomDeviceOrientationEventh">trunk/Source/WebCore/dom/DeviceOrientationEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomErrorEventh">trunk/Source/WebCore/dom/ErrorEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomEventh">trunk/Source/WebCore/dom/Event.h</a></li>
<li><a href="#trunkSourceWebCoredomFocusEventh">trunk/Source/WebCore/dom/FocusEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomHashChangeEventh">trunk/Source/WebCore/dom/HashChangeEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomKeyboardEventh">trunk/Source/WebCore/dom/KeyboardEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomMessageEventh">trunk/Source/WebCore/dom/MessageEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomMouseEventcpp">trunk/Source/WebCore/dom/MouseEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoredomMouseEventh">trunk/Source/WebCore/dom/MouseEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomMutationEventh">trunk/Source/WebCore/dom/MutationEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomOverflowEventh">trunk/Source/WebCore/dom/OverflowEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomPageTransitionEventh">trunk/Source/WebCore/dom/PageTransitionEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomPopStateEventcpp">trunk/Source/WebCore/dom/PopStateEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoredomPopStateEventh">trunk/Source/WebCore/dom/PopStateEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomProgressEventh">trunk/Source/WebCore/dom/ProgressEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomTextEventcpp">trunk/Source/WebCore/dom/TextEvent.cpp</a></li>
<li><a href="#trunkSourceWebCoredomTextEventh">trunk/Source/WebCore/dom/TextEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomTouchEventh">trunk/Source/WebCore/dom/TouchEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomTransitionEventh">trunk/Source/WebCore/dom/TransitionEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomUIEventh">trunk/Source/WebCore/dom/UIEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomWebKitAnimationEventh">trunk/Source/WebCore/dom/WebKitAnimationEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomWebKitTransitionEventh">trunk/Source/WebCore/dom/WebKitTransitionEvent.h</a></li>
<li><a href="#trunkSourceWebCoredomWheelEventh">trunk/Source/WebCore/dom/WheelEvent.h</a></li>
<li><a href="#trunkSourceWebCorehtmlMediaKeyEventh">trunk/Source/WebCore/html/MediaKeyEvent.h</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLContextEventh">trunk/Source/WebCore/html/canvas/WebGLContextEvent.h</a></li>
<li><a href="#trunkSourceWebCorehtmltrackTrackEventh">trunk/Source/WebCore/html/track/TrackEvent.h</a></li>
<li><a href="#trunkSourceWebCorestorageStorageEventcpp">trunk/Source/WebCore/storage/StorageEvent.cpp</a></li>
<li><a href="#trunkSourceWebCorestorageStorageEventh">trunk/Source/WebCore/storage/StorageEvent.h</a></li>
<li><a href="#trunkSourceWebCoresvgSVGZoomEventh">trunk/Source/WebCore/svg/SVGZoomEvent.h</a></li>
<li><a href="#trunkSourceWebCorexmlXMLHttpRequestProgressEventh">trunk/Source/WebCore/xml/XMLHttpRequestProgressEvent.h</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageWebPagecpp">trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/ChangeLog        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -1,3 +1,110 @@
</span><ins>+2014-12-14 Andreas Kling <akling@apple.com>
+
+ Event construction helpers should return Ref instead of PassRefPtr.
+ <https://webkit.org/b/139625>
+
+ Reviewed by Antti Koivisto.
+
+ Change all the FooEvent::create() construction helpers to return Ref<FooEvent>
+ instead of PassRefPtr<FooEvent>.
+
+ This allows the compiler to omit null checks at each call site, since we know
+ that these functions always return valid objects.
+
+ * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h:
+ (WebCore::WebKitPlaybackTargetAvailabilityEvent::create):
+ * Modules/encryptedmedia/MediaKeyMessageEvent.h:
+ (WebCore::MediaKeyMessageEvent::create):
+ * Modules/encryptedmedia/MediaKeyNeededEvent.h:
+ (WebCore::MediaKeyNeededEvent::create):
+ * Modules/gamepad/GamepadEvent.h:
+ (WebCore::GamepadEvent::create):
+ * Modules/indexeddb/IDBVersionChangeEvent.h:
+ (WebCore::IDBVersionChangeEvent::create):
+ * Modules/indieui/UIRequestEvent.cpp:
+ (WebCore::UIRequestEvent::create):
+ * Modules/indieui/UIRequestEvent.h:
+ * Modules/mediastream/MediaStreamEvent.cpp:
+ (WebCore::MediaStreamEvent::create):
+ * Modules/mediastream/MediaStreamEvent.h:
+ * Modules/mediastream/MediaStreamTrackEvent.cpp:
+ (WebCore::MediaStreamTrackEvent::create):
+ * Modules/mediastream/MediaStreamTrackEvent.h:
+ * Modules/mediastream/RTCDTMFToneChangeEvent.cpp:
+ (WebCore::RTCDTMFToneChangeEvent::create):
+ * Modules/mediastream/RTCDTMFToneChangeEvent.h:
+ * Modules/mediastream/RTCDataChannelEvent.cpp:
+ (WebCore::RTCDataChannelEvent::create):
+ * Modules/mediastream/RTCDataChannelEvent.h:
+ * Modules/mediastream/RTCIceCandidateEvent.cpp:
+ (WebCore::RTCIceCandidateEvent::create):
+ * Modules/mediastream/RTCIceCandidateEvent.h:
+ * Modules/speech/SpeechSynthesisEvent.cpp:
+ (WebCore::SpeechSynthesisEvent::create):
+ * Modules/speech/SpeechSynthesisEvent.h:
+ * Modules/webaudio/AudioProcessingEvent.cpp:
+ (WebCore::AudioProcessingEvent::create):
+ * Modules/webaudio/AudioProcessingEvent.h:
+ * Modules/webaudio/OfflineAudioCompletionEvent.cpp:
+ (WebCore::OfflineAudioCompletionEvent::create):
+ * Modules/webaudio/OfflineAudioCompletionEvent.h:
+ * Modules/websockets/CloseEvent.h:
+ (WebCore::CloseEvent::create):
+ * dom/AnimationEvent.h:
+ * dom/AutocompleteErrorEvent.h:
+ * dom/BeforeLoadEvent.h:
+ * dom/BeforeTextInsertedEvent.h:
+ * dom/BeforeUnloadEvent.h:
+ * dom/ClipboardEvent.h:
+ * dom/CompositionEvent.h:
+ * dom/CustomEvent.h:
+ * dom/DeviceMotionEvent.h:
+ * dom/DeviceOrientationEvent.h:
+ * dom/ErrorEvent.h:
+ * dom/Event.h:
+ (WebCore::Event::create):
+ * dom/FocusEvent.h:
+ * dom/HashChangeEvent.h:
+ * dom/KeyboardEvent.h:
+ * dom/MessageEvent.h:
+ * dom/MouseEvent.cpp:
+ (WebCore::MouseEvent::create):
+ (WebCore::SimulatedMouseEvent::create):
+ * dom/MouseEvent.h:
+ (WebCore::MouseEvent::create):
+ * dom/MutationEvent.h:
+ * dom/OverflowEvent.h:
+ * dom/PageTransitionEvent.h:
+ * dom/PopStateEvent.cpp:
+ (WebCore::PopStateEvent::create):
+ * dom/PopStateEvent.h:
+ * dom/ProgressEvent.h:
+ (WebCore::ProgressEvent::create):
+ * dom/TextEvent.cpp:
+ (WebCore::TextEvent::create):
+ (WebCore::TextEvent::createForPlainTextPaste):
+ (WebCore::TextEvent::createForFragmentPaste):
+ (WebCore::TextEvent::createForDrop):
+ (WebCore::TextEvent::createForDictation):
+ * dom/TextEvent.h:
+ * dom/TouchEvent.h:
+ * dom/TransitionEvent.h:
+ * dom/UIEvent.h:
+ (WebCore::UIEvent::create):
+ * dom/WebKitAnimationEvent.h:
+ * dom/WebKitTransitionEvent.h:
+ * dom/WheelEvent.h:
+ * html/MediaKeyEvent.h:
+ * html/canvas/WebGLContextEvent.h:
+ * html/track/TrackEvent.h:
+ * storage/StorageEvent.cpp:
+ (WebCore::StorageEvent::create):
+ * storage/StorageEvent.h:
+ * svg/SVGZoomEvent.h:
+ (WebCore::SVGZoomEvent::create):
+ * xml/XMLHttpRequestProgressEvent.h:
+ (WebCore::XMLHttpRequestProgressEvent::create):
+
</ins><span class="cx"> 2014-12-14 Ryosuke Niwa <rniwa@webkit.org>
</span><span class="cx">
</span><span class="cx"> REGRESSION(r160182): Fragment parser doesn't close a form element with a close tag
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesairplayWebKitPlaybackTargetAvailabilityEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -44,19 +44,19 @@
</span><span class="cx"> public:
</span><span class="cx"> ~WebKitPlaybackTargetAvailabilityEvent() { }
</span><span class="cx">
</span><del>- static PassRefPtr<WebKitPlaybackTargetAvailabilityEvent> create()
</del><ins>+ static Ref<WebKitPlaybackTargetAvailabilityEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new WebKitPlaybackTargetAvailabilityEvent);
</del><ins>+ return adoptRef(*new WebKitPlaybackTargetAvailabilityEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<WebKitPlaybackTargetAvailabilityEvent> create(const AtomicString& eventType, bool available)
</del><ins>+ static Ref<WebKitPlaybackTargetAvailabilityEvent> create(const AtomicString& eventType, bool available)
</ins><span class="cx"> {
</span><del>- return adoptRef(new WebKitPlaybackTargetAvailabilityEvent(eventType, available));
</del><ins>+ return adoptRef(*new WebKitPlaybackTargetAvailabilityEvent(eventType, available));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<WebKitPlaybackTargetAvailabilityEvent> create(const AtomicString& eventType, const WebKitPlaybackTargetAvailabilityEventInit& initializer)
</del><ins>+ static Ref<WebKitPlaybackTargetAvailabilityEvent> create(const AtomicString& eventType, const WebKitPlaybackTargetAvailabilityEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new WebKitPlaybackTargetAvailabilityEvent(eventType, initializer));
</del><ins>+ return adoptRef(*new WebKitPlaybackTargetAvailabilityEvent(eventType, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> String availability() const { return m_availability; }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesencryptedmediaMediaKeyMessageEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/encryptedmedia/MediaKeyMessageEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/encryptedmedia/MediaKeyMessageEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/encryptedmedia/MediaKeyMessageEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -45,14 +45,14 @@
</span><span class="cx"> public:
</span><span class="cx"> virtual ~MediaKeyMessageEvent();
</span><span class="cx">
</span><del>- static PassRefPtr<MediaKeyMessageEvent> create()
</del><ins>+ static Ref<MediaKeyMessageEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new MediaKeyMessageEvent);
</del><ins>+ return adoptRef(*new MediaKeyMessageEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<MediaKeyMessageEvent> create(const AtomicString& type, const MediaKeyMessageEventInit& initializer)
</del><ins>+ static Ref<MediaKeyMessageEvent> create(const AtomicString& type, const MediaKeyMessageEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new MediaKeyMessageEvent(type, initializer));
</del><ins>+ return adoptRef(*new MediaKeyMessageEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> virtual EventInterface eventInterface() const override;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesencryptedmediaMediaKeyNeededEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/encryptedmedia/MediaKeyNeededEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/encryptedmedia/MediaKeyNeededEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/encryptedmedia/MediaKeyNeededEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -43,14 +43,14 @@
</span><span class="cx"> public:
</span><span class="cx"> virtual ~MediaKeyNeededEvent();
</span><span class="cx">
</span><del>- static PassRefPtr<MediaKeyNeededEvent> create()
</del><ins>+ static Ref<MediaKeyNeededEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new MediaKeyNeededEvent);
</del><ins>+ return adoptRef(*new MediaKeyNeededEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<MediaKeyNeededEvent> create(const AtomicString& type, const MediaKeyNeededEventInit& initializer)
</del><ins>+ static Ref<MediaKeyNeededEvent> create(const AtomicString& type, const MediaKeyNeededEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new MediaKeyNeededEvent(type, initializer));
</del><ins>+ return adoptRef(*new MediaKeyNeededEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> virtual EventInterface eventInterface() const override;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesgamepadGamepadEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/gamepad/GamepadEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/gamepad/GamepadEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/gamepad/GamepadEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -45,19 +45,19 @@
</span><span class="cx"> public:
</span><span class="cx"> ~GamepadEvent() { }
</span><span class="cx">
</span><del>- static PassRefPtr<GamepadEvent> create()
</del><ins>+ static Ref<GamepadEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new GamepadEvent);
</del><ins>+ return adoptRef(*new GamepadEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<GamepadEvent> create(const AtomicString& eventType, Gamepad& gamepad)
</del><ins>+ static Ref<GamepadEvent> create(const AtomicString& eventType, Gamepad& gamepad)
</ins><span class="cx"> {
</span><del>- return adoptRef(new GamepadEvent(eventType, gamepad));
</del><ins>+ return adoptRef(*new GamepadEvent(eventType, gamepad));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<GamepadEvent> create(const AtomicString& eventType, const GamepadEventInit& initializer)
</del><ins>+ static Ref<GamepadEvent> create(const AtomicString& eventType, const GamepadEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new GamepadEvent(eventType, initializer));
</del><ins>+ return adoptRef(*new GamepadEvent(eventType, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> Gamepad* gamepad() const { return m_gamepad.get(); }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBVersionChangeEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -38,9 +38,9 @@
</span><span class="cx">
</span><span class="cx"> class IDBVersionChangeEvent : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<IDBVersionChangeEvent> create(unsigned long long oldVersion = 0, unsigned long long newVersion = 0, IndexedDB::VersionNullness newVersionNullness = IndexedDB::VersionNullness::Null, const AtomicString& eventType = AtomicString())
</del><ins>+ static Ref<IDBVersionChangeEvent> create(unsigned long long oldVersion = 0, unsigned long long newVersion = 0, IndexedDB::VersionNullness newVersionNullness = IndexedDB::VersionNullness::Null, const AtomicString& eventType = AtomicString())
</ins><span class="cx"> {
</span><del>- return adoptRef(new IDBVersionChangeEvent(oldVersion, newVersion, newVersionNullness, eventType));
</del><ins>+ return adoptRef(*new IDBVersionChangeEvent(oldVersion, newVersion, newVersionNullness, eventType));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> virtual ~IDBVersionChangeEvent();
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindieuiUIRequestEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indieui/UIRequestEvent.cpp (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indieui/UIRequestEvent.cpp        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/indieui/UIRequestEvent.cpp        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -36,19 +36,19 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<UIRequestEvent> UIRequestEvent::create()
</del><ins>+Ref<UIRequestEvent> UIRequestEvent::create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new UIRequestEvent);
</del><ins>+ return adoptRef(*new UIRequestEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<UIRequestEvent> UIRequestEvent::create(const AtomicString& type, const UIRequestEventInit& initializer)
</del><ins>+Ref<UIRequestEvent> UIRequestEvent::create(const AtomicString& type, const UIRequestEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new UIRequestEvent(type, initializer));
</del><ins>+ return adoptRef(*new UIRequestEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<UIRequestEvent> UIRequestEvent::create(const AtomicString& type, bool bubbles, bool cancelable, PassRefPtr<AbstractView> view, int detail, PassRefPtr<EventTarget> receiver)
</del><ins>+Ref<UIRequestEvent> UIRequestEvent::create(const AtomicString& type, bool bubbles, bool cancelable, PassRefPtr<AbstractView> view, int detail, PassRefPtr<EventTarget> receiver)
</ins><span class="cx"> {
</span><del>- return adoptRef(new UIRequestEvent(type, bubbles, cancelable, view, detail, receiver));
</del><ins>+ return adoptRef(*new UIRequestEvent(type, bubbles, cancelable, view, detail, receiver));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> UIRequestEvent::UIRequestEvent(const AtomicString& type, const UIRequestEventInit& initializer)
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindieuiUIRequestEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indieui/UIRequestEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indieui/UIRequestEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/indieui/UIRequestEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -41,10 +41,10 @@
</span><span class="cx">
</span><span class="cx"> class UIRequestEvent : public UIEvent {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<UIRequestEvent> create();
- static PassRefPtr<UIRequestEvent> create(const AtomicString& type, bool bubbles, bool cancelable, PassRefPtr<AbstractView>, int detail, PassRefPtr<EventTarget> receiver);
</del><ins>+ static Ref<UIRequestEvent> create();
+ static Ref<UIRequestEvent> create(const AtomicString& type, bool bubbles, bool cancelable, PassRefPtr<AbstractView>, int detail, PassRefPtr<EventTarget> receiver);
</ins><span class="cx">
</span><del>- static PassRefPtr<UIRequestEvent> create(const AtomicString& eventType, const UIRequestEventInit&);
</del><ins>+ static Ref<UIRequestEvent> create(const AtomicString& eventType, const UIRequestEventInit&);
</ins><span class="cx">
</span><span class="cx"> virtual ~UIRequestEvent();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamMediaStreamEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/MediaStreamEvent.cpp (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/MediaStreamEvent.cpp        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/mediastream/MediaStreamEvent.cpp        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -37,19 +37,19 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<MediaStreamEvent> MediaStreamEvent::create()
</del><ins>+Ref<MediaStreamEvent> MediaStreamEvent::create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new MediaStreamEvent);
</del><ins>+ return adoptRef(*new MediaStreamEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<MediaStreamEvent> MediaStreamEvent::create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<MediaStream> stream)
</del><ins>+Ref<MediaStreamEvent> MediaStreamEvent::create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<MediaStream> stream)
</ins><span class="cx"> {
</span><del>- return adoptRef(new MediaStreamEvent(type, canBubble, cancelable, stream));
</del><ins>+ return adoptRef(*new MediaStreamEvent(type, canBubble, cancelable, stream));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<MediaStreamEvent> MediaStreamEvent::create(const AtomicString& type, const MediaStreamEventInit& initializer)
</del><ins>+Ref<MediaStreamEvent> MediaStreamEvent::create(const AtomicString& type, const MediaStreamEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new MediaStreamEvent(type, initializer));
</del><ins>+ return adoptRef(*new MediaStreamEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> MediaStreamEvent::MediaStreamEvent()
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamMediaStreamEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/MediaStreamEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/MediaStreamEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/mediastream/MediaStreamEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -43,9 +43,9 @@
</span><span class="cx"> public:
</span><span class="cx"> virtual ~MediaStreamEvent();
</span><span class="cx">
</span><del>- static PassRefPtr<MediaStreamEvent> create();
- static PassRefPtr<MediaStreamEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<MediaStream>);
- static PassRefPtr<MediaStreamEvent> create(const AtomicString& type, const MediaStreamEventInit& initializer);
</del><ins>+ static Ref<MediaStreamEvent> create();
+ static Ref<MediaStreamEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<MediaStream>);
+ static Ref<MediaStreamEvent> create(const AtomicString& type, const MediaStreamEventInit& initializer);
</ins><span class="cx">
</span><span class="cx"> MediaStream* stream() const;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamMediaStreamTrackEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.cpp (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.cpp        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.cpp        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -37,19 +37,19 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<MediaStreamTrackEvent> MediaStreamTrackEvent::create()
</del><ins>+Ref<MediaStreamTrackEvent> MediaStreamTrackEvent::create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new MediaStreamTrackEvent);
</del><ins>+ return adoptRef(*new MediaStreamTrackEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<MediaStreamTrackEvent> MediaStreamTrackEvent::create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<MediaStreamTrack> track)
</del><ins>+Ref<MediaStreamTrackEvent> MediaStreamTrackEvent::create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<MediaStreamTrack> track)
</ins><span class="cx"> {
</span><del>- return adoptRef(new MediaStreamTrackEvent(type, canBubble, cancelable, track));
</del><ins>+ return adoptRef(*new MediaStreamTrackEvent(type, canBubble, cancelable, track));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<MediaStreamTrackEvent> MediaStreamTrackEvent::create(const AtomicString& type, const MediaStreamTrackEventInit& initializer)
</del><ins>+Ref<MediaStreamTrackEvent> MediaStreamTrackEvent::create(const AtomicString& type, const MediaStreamTrackEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new MediaStreamTrackEvent(type, initializer));
</del><ins>+ return adoptRef(*new MediaStreamTrackEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> MediaStreamTrackEvent::MediaStreamTrackEvent()
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamMediaStreamTrackEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -44,9 +44,9 @@
</span><span class="cx"> public:
</span><span class="cx"> virtual ~MediaStreamTrackEvent();
</span><span class="cx">
</span><del>- static PassRefPtr<MediaStreamTrackEvent> create();
- static PassRefPtr<MediaStreamTrackEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<MediaStreamTrack>);
- static PassRefPtr<MediaStreamTrackEvent> create(const AtomicString& type, const MediaStreamTrackEventInit& initializer);
</del><ins>+ static Ref<MediaStreamTrackEvent> create();
+ static Ref<MediaStreamTrackEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<MediaStreamTrack>);
+ static Ref<MediaStreamTrackEvent> create(const AtomicString& type, const MediaStreamTrackEventInit& initializer);
</ins><span class="cx">
</span><span class="cx"> MediaStreamTrack* track() const;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCDTMFToneChangeEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCDTMFToneChangeEvent.cpp (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCDTMFToneChangeEvent.cpp        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/mediastream/RTCDTMFToneChangeEvent.cpp        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -32,20 +32,20 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-PassRefPtr<RTCDTMFToneChangeEvent> RTCDTMFToneChangeEvent::create()
</del><ins>+Ref<RTCDTMFToneChangeEvent> RTCDTMFToneChangeEvent::create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new RTCDTMFToneChangeEvent);
</del><ins>+ return adoptRef(*new RTCDTMFToneChangeEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<RTCDTMFToneChangeEvent> RTCDTMFToneChangeEvent::create(const String& tone)
</del><ins>+Ref<RTCDTMFToneChangeEvent> RTCDTMFToneChangeEvent::create(const String& tone)
</ins><span class="cx"> {
</span><del>- return adoptRef(new RTCDTMFToneChangeEvent(tone));
</del><ins>+ return adoptRef(*new RTCDTMFToneChangeEvent(tone));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<RTCDTMFToneChangeEvent> RTCDTMFToneChangeEvent::create(const AtomicString& type, const RTCDTMFToneChangeEventInit& initializer)
</del><ins>+Ref<RTCDTMFToneChangeEvent> RTCDTMFToneChangeEvent::create(const AtomicString& type, const RTCDTMFToneChangeEventInit& initializer)
</ins><span class="cx"> {
</span><span class="cx"> ASSERT_UNUSED(type, type == eventNames().tonechangeEvent);
</span><del>- return adoptRef(new RTCDTMFToneChangeEvent(initializer));
</del><ins>+ return adoptRef(*new RTCDTMFToneChangeEvent(initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> RTCDTMFToneChangeEvent::RTCDTMFToneChangeEvent()
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCDTMFToneChangeEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCDTMFToneChangeEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCDTMFToneChangeEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/mediastream/RTCDTMFToneChangeEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -41,9 +41,9 @@
</span><span class="cx"> public:
</span><span class="cx"> virtual ~RTCDTMFToneChangeEvent();
</span><span class="cx">
</span><del>- static PassRefPtr<RTCDTMFToneChangeEvent> create();
- static PassRefPtr<RTCDTMFToneChangeEvent> create(const String& tone);
- static PassRefPtr<RTCDTMFToneChangeEvent> create(const AtomicString& type, const RTCDTMFToneChangeEventInit& initializer);
</del><ins>+ static Ref<RTCDTMFToneChangeEvent> create();
+ static Ref<RTCDTMFToneChangeEvent> create(const String& tone);
+ static Ref<RTCDTMFToneChangeEvent> create(const AtomicString& type, const RTCDTMFToneChangeEventInit& initializer);
</ins><span class="cx">
</span><span class="cx"> const String& tone() const;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCDataChannelEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCDataChannelEvent.cpp (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCDataChannelEvent.cpp        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/mediastream/RTCDataChannelEvent.cpp        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -32,17 +32,16 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-PassRefPtr<RTCDataChannelEvent> RTCDataChannelEvent::create()
</del><ins>+Ref<RTCDataChannelEvent> RTCDataChannelEvent::create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new RTCDataChannelEvent);
</del><ins>+ return adoptRef(*new RTCDataChannelEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<RTCDataChannelEvent> RTCDataChannelEvent::create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<RTCDataChannel> channel)
</del><ins>+Ref<RTCDataChannelEvent> RTCDataChannelEvent::create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<RTCDataChannel> channel)
</ins><span class="cx"> {
</span><del>- return adoptRef(new RTCDataChannelEvent(type, canBubble, cancelable, channel));
</del><ins>+ return adoptRef(*new RTCDataChannelEvent(type, canBubble, cancelable, channel));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-
</del><span class="cx"> RTCDataChannelEvent::RTCDataChannelEvent()
</span><span class="cx"> {
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCDataChannelEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCDataChannelEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCDataChannelEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/mediastream/RTCDataChannelEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -37,8 +37,8 @@
</span><span class="cx"> public:
</span><span class="cx"> virtual ~RTCDataChannelEvent();
</span><span class="cx">
</span><del>- static PassRefPtr<RTCDataChannelEvent> create();
- static PassRefPtr<RTCDataChannelEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<RTCDataChannel>);
</del><ins>+ static Ref<RTCDataChannelEvent> create();
+ static Ref<RTCDataChannelEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<RTCDataChannel>);
</ins><span class="cx">
</span><span class="cx"> RTCDataChannel* channel() const;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCIceCandidateEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCIceCandidateEvent.cpp (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCIceCandidateEvent.cpp        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/mediastream/RTCIceCandidateEvent.cpp        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -33,14 +33,14 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-PassRefPtr<RTCIceCandidateEvent> RTCIceCandidateEvent::create()
</del><ins>+Ref<RTCIceCandidateEvent> RTCIceCandidateEvent::create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new RTCIceCandidateEvent);
</del><ins>+ return adoptRef(*new RTCIceCandidateEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<RTCIceCandidateEvent> RTCIceCandidateEvent::create(bool canBubble, bool cancelable, PassRefPtr<RTCIceCandidate> candidate)
</del><ins>+Ref<RTCIceCandidateEvent> RTCIceCandidateEvent::create(bool canBubble, bool cancelable, PassRefPtr<RTCIceCandidate> candidate)
</ins><span class="cx"> {
</span><del>- return adoptRef(new RTCIceCandidateEvent(canBubble, cancelable, candidate));
</del><ins>+ return adoptRef(*new RTCIceCandidateEvent(canBubble, cancelable, candidate));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> RTCIceCandidateEvent::RTCIceCandidateEvent()
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCIceCandidateEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCIceCandidateEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCIceCandidateEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/mediastream/RTCIceCandidateEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -37,8 +37,8 @@
</span><span class="cx"> public:
</span><span class="cx"> virtual ~RTCIceCandidateEvent();
</span><span class="cx">
</span><del>- static PassRefPtr<RTCIceCandidateEvent> create();
- static PassRefPtr<RTCIceCandidateEvent> create(bool canBubble, bool cancelable, PassRefPtr<RTCIceCandidate>);
</del><ins>+ static Ref<RTCIceCandidateEvent> create();
+ static Ref<RTCIceCandidateEvent> create(bool canBubble, bool cancelable, PassRefPtr<RTCIceCandidate>);
</ins><span class="cx">
</span><span class="cx"> RTCIceCandidate* candidate() const;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesspeechSpeechSynthesisEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/speech/SpeechSynthesisEvent.cpp (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/speech/SpeechSynthesisEvent.cpp        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/speech/SpeechSynthesisEvent.cpp        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -30,14 +30,14 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-PassRefPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create()
</del><ins>+Ref<SpeechSynthesisEvent> SpeechSynthesisEvent::create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new SpeechSynthesisEvent());
</del><ins>+ return adoptRef(*new SpeechSynthesisEvent());
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name)
</del><ins>+Ref<SpeechSynthesisEvent> SpeechSynthesisEvent::create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name)
</ins><span class="cx"> {
</span><del>- return adoptRef(new SpeechSynthesisEvent(type, charIndex, elapsedTime, name));
</del><ins>+ return adoptRef(*new SpeechSynthesisEvent(type, charIndex, elapsedTime, name));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> SpeechSynthesisEvent::SpeechSynthesisEvent()
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesspeechSpeechSynthesisEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/speech/SpeechSynthesisEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/speech/SpeechSynthesisEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/speech/SpeechSynthesisEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -35,8 +35,8 @@
</span><span class="cx">
</span><span class="cx"> class SpeechSynthesisEvent : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<SpeechSynthesisEvent> create();
- static PassRefPtr<SpeechSynthesisEvent> create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name);
</del><ins>+ static Ref<SpeechSynthesisEvent> create();
+ static Ref<SpeechSynthesisEvent> create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name);
</ins><span class="cx">
</span><span class="cx"> unsigned long charIndex() const { return m_charIndex; }
</span><span class="cx"> float elapsedTime() const { return m_elapsedTime; }
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAudioProcessingEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.cpp (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.cpp        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.cpp        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -33,14 +33,14 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-PassRefPtr<AudioProcessingEvent> AudioProcessingEvent::create()
</del><ins>+Ref<AudioProcessingEvent> AudioProcessingEvent::create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new AudioProcessingEvent);
</del><ins>+ return adoptRef(*new AudioProcessingEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<AudioProcessingEvent> AudioProcessingEvent::create(PassRefPtr<AudioBuffer> inputBuffer, PassRefPtr<AudioBuffer> outputBuffer, double playbackTime)
</del><ins>+Ref<AudioProcessingEvent> AudioProcessingEvent::create(PassRefPtr<AudioBuffer> inputBuffer, PassRefPtr<AudioBuffer> outputBuffer, double playbackTime)
</ins><span class="cx"> {
</span><del>- return adoptRef(new AudioProcessingEvent(inputBuffer, outputBuffer, playbackTime));
</del><ins>+ return adoptRef(*new AudioProcessingEvent(inputBuffer, outputBuffer, playbackTime));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> AudioProcessingEvent::AudioProcessingEvent()
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAudioProcessingEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -36,8 +36,8 @@
</span><span class="cx">
</span><span class="cx"> class AudioProcessingEvent : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<AudioProcessingEvent> create();
- static PassRefPtr<AudioProcessingEvent> create(PassRefPtr<AudioBuffer> inputBuffer, PassRefPtr<AudioBuffer> outputBuffer, double playbackTime);
</del><ins>+ static Ref<AudioProcessingEvent> create();
+ static Ref<AudioProcessingEvent> create(PassRefPtr<AudioBuffer> inputBuffer, PassRefPtr<AudioBuffer> outputBuffer, double playbackTime);
</ins><span class="cx">
</span><span class="cx"> virtual ~AudioProcessingEvent();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioOfflineAudioCompletionEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.cpp (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.cpp        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.cpp        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -33,14 +33,14 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-PassRefPtr<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent::create()
</del><ins>+Ref<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent::create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new OfflineAudioCompletionEvent);
</del><ins>+ return adoptRef(*new OfflineAudioCompletionEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent::create(PassRefPtr<AudioBuffer> renderedBuffer)
</del><ins>+Ref<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent::create(PassRefPtr<AudioBuffer> renderedBuffer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new OfflineAudioCompletionEvent(renderedBuffer));
</del><ins>+ return adoptRef(*new OfflineAudioCompletionEvent(renderedBuffer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> OfflineAudioCompletionEvent::OfflineAudioCompletionEvent()
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioOfflineAudioCompletionEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -36,8 +36,8 @@
</span><span class="cx">
</span><span class="cx"> class OfflineAudioCompletionEvent : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<OfflineAudioCompletionEvent> create();
- static PassRefPtr<OfflineAudioCompletionEvent> create(PassRefPtr<AudioBuffer> renderedBuffer);
</del><ins>+ static Ref<OfflineAudioCompletionEvent> create();
+ static Ref<OfflineAudioCompletionEvent> create(PassRefPtr<AudioBuffer> renderedBuffer);
</ins><span class="cx">
</span><span class="cx"> virtual ~OfflineAudioCompletionEvent();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebsocketsCloseEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/websockets/CloseEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/websockets/CloseEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/Modules/websockets/CloseEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -50,19 +50,19 @@
</span><span class="cx">
</span><span class="cx"> class CloseEvent : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<CloseEvent> create()
</del><ins>+ static Ref<CloseEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new CloseEvent());
</del><ins>+ return adoptRef(*new CloseEvent());
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<CloseEvent> create(bool wasClean, unsigned short code, const String& reason)
</del><ins>+ static Ref<CloseEvent> create(bool wasClean, unsigned short code, const String& reason)
</ins><span class="cx"> {
</span><del>- return adoptRef(new CloseEvent(wasClean, code, reason));
</del><ins>+ return adoptRef(*new CloseEvent(wasClean, code, reason));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<CloseEvent> create(const AtomicString& type, const CloseEventInit& initializer)
</del><ins>+ static Ref<CloseEvent> create(const AtomicString& type, const CloseEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new CloseEvent(type, initializer));
</del><ins>+ return adoptRef(*new CloseEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool wasClean() const { return m_wasClean; }
</span></span></pre></div>
<a id="trunkSourceWebCoredomAnimationEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/AnimationEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/AnimationEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/AnimationEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -39,17 +39,17 @@
</span><span class="cx">
</span><span class="cx"> class AnimationEvent final : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<AnimationEvent> create()
</del><ins>+ static Ref<AnimationEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new AnimationEvent);
</del><ins>+ return adoptRef(*new AnimationEvent);
</ins><span class="cx"> }
</span><del>- static PassRefPtr<AnimationEvent> create(const AtomicString& type, const String& animationName, double elapsedTime)
</del><ins>+ static Ref<AnimationEvent> create(const AtomicString& type, const String& animationName, double elapsedTime)
</ins><span class="cx"> {
</span><del>- return adoptRef(new AnimationEvent(type, animationName, elapsedTime));
</del><ins>+ return adoptRef(*new AnimationEvent(type, animationName, elapsedTime));
</ins><span class="cx"> }
</span><del>- static PassRefPtr<AnimationEvent> create(const AtomicString& type, const AnimationEventInit& initializer)
</del><ins>+ static Ref<AnimationEvent> create(const AtomicString& type, const AnimationEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new AnimationEvent(type, initializer));
</del><ins>+ return adoptRef(*new AnimationEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> virtual ~AnimationEvent();
</span></span></pre></div>
<a id="trunkSourceWebCoredomAutocompleteErrorEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/AutocompleteErrorEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/AutocompleteErrorEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/AutocompleteErrorEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -38,19 +38,19 @@
</span><span class="cx">
</span><span class="cx"> class AutocompleteErrorEvent final : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<AutocompleteErrorEvent> create()
</del><ins>+ static Ref<AutocompleteErrorEvent> create()
</ins><span class="cx"> {
</span><span class="cx"> return adoptRef(new AutocompleteErrorEvent);
</span><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<AutocompleteErrorEvent> create(const String& reason)
</del><ins>+ static Ref<AutocompleteErrorEvent> create(const String& reason)
</ins><span class="cx"> {
</span><del>- return adoptRef(new AutocompleteErrorEvent(reason));
</del><ins>+ return adoptRef(*new AutocompleteErrorEvent(reason));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<AutocompleteErrorEvent> create(const AtomicString& eventType, const AutocompleteErrorEventInit& initializer)
</del><ins>+ static Ref<AutocompleteErrorEvent> create(const AtomicString& eventType, const AutocompleteErrorEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new AutocompleteErrorEvent(eventType, initializer));
</del><ins>+ return adoptRef(*new AutocompleteErrorEvent(eventType, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const String& reason() const { return m_reason; }
</span></span></pre></div>
<a id="trunkSourceWebCoredomBeforeLoadEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/BeforeLoadEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/BeforeLoadEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/BeforeLoadEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -42,19 +42,19 @@
</span><span class="cx">
</span><span class="cx"> class BeforeLoadEvent final : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<BeforeLoadEvent> create()
</del><ins>+ static Ref<BeforeLoadEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new BeforeLoadEvent);
</del><ins>+ return adoptRef(*new BeforeLoadEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<BeforeLoadEvent> create(const String& url)
</del><ins>+ static Ref<BeforeLoadEvent> create(const String& url)
</ins><span class="cx"> {
</span><del>- return adoptRef(new BeforeLoadEvent(url));
</del><ins>+ return adoptRef(*new BeforeLoadEvent(url));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<BeforeLoadEvent> create(const AtomicString& type, const BeforeLoadEventInit& initializer)
</del><ins>+ static Ref<BeforeLoadEvent> create(const AtomicString& type, const BeforeLoadEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new BeforeLoadEvent(type, initializer));
</del><ins>+ return adoptRef(*new BeforeLoadEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> const String& url() const { return m_url; }
</span></span></pre></div>
<a id="trunkSourceWebCoredomBeforeTextInsertedEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/BeforeTextInsertedEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/BeforeTextInsertedEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/BeforeTextInsertedEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -34,9 +34,9 @@
</span><span class="cx"> public:
</span><span class="cx"> virtual ~BeforeTextInsertedEvent();
</span><span class="cx">
</span><del>- static PassRefPtr<BeforeTextInsertedEvent> create(const String& text)
</del><ins>+ static Ref<BeforeTextInsertedEvent> create(const String& text)
</ins><span class="cx"> {
</span><del>- return adoptRef(new BeforeTextInsertedEvent(text));
</del><ins>+ return adoptRef(*new BeforeTextInsertedEvent(text));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> virtual EventInterface eventInterface() const override;
</span></span></pre></div>
<a id="trunkSourceWebCoredomBeforeUnloadEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/BeforeUnloadEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/BeforeUnloadEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/BeforeUnloadEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -33,9 +33,9 @@
</span><span class="cx"> public:
</span><span class="cx"> virtual ~BeforeUnloadEvent();
</span><span class="cx">
</span><del>- static PassRefPtr<BeforeUnloadEvent> create()
</del><ins>+ static Ref<BeforeUnloadEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new BeforeUnloadEvent);
</del><ins>+ return adoptRef(*new BeforeUnloadEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> String returnValue() const { return m_returnValue; }
</span></span></pre></div>
<a id="trunkSourceWebCoredomClipboardEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ClipboardEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ClipboardEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/ClipboardEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -34,13 +34,13 @@
</span><span class="cx"> public:
</span><span class="cx"> virtual ~ClipboardEvent();
</span><span class="cx">
</span><del>- static PassRefPtr<ClipboardEvent> create()
</del><ins>+ static Ref<ClipboardEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new ClipboardEvent);
</del><ins>+ return adoptRef(*new ClipboardEvent);
</ins><span class="cx"> }
</span><del>- static PassRefPtr<ClipboardEvent> create(const AtomicString& type, bool canBubbleArg, bool cancelableArg, PassRefPtr<DataTransfer> clipboardArg)
</del><ins>+ static Ref<ClipboardEvent> create(const AtomicString& type, bool canBubbleArg, bool cancelableArg, PassRefPtr<DataTransfer> clipboardArg)
</ins><span class="cx"> {
</span><del>- return adoptRef(new ClipboardEvent(type, canBubbleArg, cancelableArg, clipboardArg));
</del><ins>+ return adoptRef(*new ClipboardEvent(type, canBubbleArg, cancelableArg, clipboardArg));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> virtual DataTransfer* internalDataTransfer() const override { return m_dataTransfer.get(); }
</span></span></pre></div>
<a id="trunkSourceWebCoredomCompositionEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/CompositionEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/CompositionEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/CompositionEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -39,19 +39,19 @@
</span><span class="cx">
</span><span class="cx"> class CompositionEvent final : public UIEvent {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<CompositionEvent> create()
</del><ins>+ static Ref<CompositionEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new CompositionEvent);
</del><ins>+ return adoptRef(*new CompositionEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<CompositionEvent> create(const AtomicString& type, PassRefPtr<AbstractView> view, const String& data)
</del><ins>+ static Ref<CompositionEvent> create(const AtomicString& type, PassRefPtr<AbstractView> view, const String& data)
</ins><span class="cx"> {
</span><del>- return adoptRef(new CompositionEvent(type, view, data));
</del><ins>+ return adoptRef(*new CompositionEvent(type, view, data));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<CompositionEvent> create(const AtomicString& type, const CompositionEventInit& initializer)
</del><ins>+ static Ref<CompositionEvent> create(const AtomicString& type, const CompositionEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new CompositionEvent(type, initializer));
</del><ins>+ return adoptRef(*new CompositionEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> virtual ~CompositionEvent();
</span></span></pre></div>
<a id="trunkSourceWebCoredomCustomEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/CustomEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/CustomEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/CustomEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -42,14 +42,14 @@
</span><span class="cx"> public:
</span><span class="cx"> virtual ~CustomEvent();
</span><span class="cx">
</span><del>- static PassRefPtr<CustomEvent> create()
</del><ins>+ static Ref<CustomEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new CustomEvent);
</del><ins>+ return adoptRef(*new CustomEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<CustomEvent> create(const AtomicString& type, const CustomEventInit& initializer)
</del><ins>+ static Ref<CustomEvent> create(const AtomicString& type, const CustomEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new CustomEvent(type, initializer));
</del><ins>+ return adoptRef(*new CustomEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void initCustomEvent(const AtomicString& type, bool canBubble, bool cancelable, const Deprecated::ScriptValue& detail);
</span></span></pre></div>
<a id="trunkSourceWebCoredomDeviceMotionEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/DeviceMotionEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DeviceMotionEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/DeviceMotionEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -35,13 +35,13 @@
</span><span class="cx"> class DeviceMotionEvent final : public Event {
</span><span class="cx"> public:
</span><span class="cx"> virtual ~DeviceMotionEvent();
</span><del>- static PassRefPtr<DeviceMotionEvent> create()
</del><ins>+ static Ref<DeviceMotionEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new DeviceMotionEvent);
</del><ins>+ return adoptRef(*new DeviceMotionEvent);
</ins><span class="cx"> }
</span><del>- static PassRefPtr<DeviceMotionEvent> create(const AtomicString& eventType, DeviceMotionData* deviceMotionData)
</del><ins>+ static Ref<DeviceMotionEvent> create(const AtomicString& eventType, DeviceMotionData* deviceMotionData)
</ins><span class="cx"> {
</span><del>- return adoptRef(new DeviceMotionEvent(eventType, deviceMotionData));
</del><ins>+ return adoptRef(*new DeviceMotionEvent(eventType, deviceMotionData));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void initDeviceMotionEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceMotionData*);
</span></span></pre></div>
<a id="trunkSourceWebCoredomDeviceOrientationEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/DeviceOrientationEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/DeviceOrientationEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/DeviceOrientationEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -35,13 +35,13 @@
</span><span class="cx"> class DeviceOrientationEvent final : public Event {
</span><span class="cx"> public:
</span><span class="cx"> virtual ~DeviceOrientationEvent();
</span><del>- static PassRefPtr<DeviceOrientationEvent> create()
</del><ins>+ static Ref<DeviceOrientationEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new DeviceOrientationEvent);
</del><ins>+ return adoptRef(*new DeviceOrientationEvent);
</ins><span class="cx"> }
</span><del>- static PassRefPtr<DeviceOrientationEvent> create(const AtomicString& eventType, DeviceOrientationData* orientation)
</del><ins>+ static Ref<DeviceOrientationEvent> create(const AtomicString& eventType, DeviceOrientationData* orientation)
</ins><span class="cx"> {
</span><del>- return adoptRef(new DeviceOrientationEvent(eventType, orientation));
</del><ins>+ return adoptRef(*new DeviceOrientationEvent(eventType, orientation));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void initDeviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceOrientationData*);
</span></span></pre></div>
<a id="trunkSourceWebCoredomErrorEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ErrorEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ErrorEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/ErrorEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -47,17 +47,17 @@
</span><span class="cx">
</span><span class="cx"> class ErrorEvent final : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<ErrorEvent> create()
</del><ins>+ static Ref<ErrorEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new ErrorEvent);
</del><ins>+ return adoptRef(*new ErrorEvent);
</ins><span class="cx"> }
</span><del>- static PassRefPtr<ErrorEvent> create(const String& message, const String& fileName, unsigned lineNumber, unsigned columnNumber)
</del><ins>+ static Ref<ErrorEvent> create(const String& message, const String& fileName, unsigned lineNumber, unsigned columnNumber)
</ins><span class="cx"> {
</span><del>- return adoptRef(new ErrorEvent(message, fileName, lineNumber, columnNumber));
</del><ins>+ return adoptRef(*new ErrorEvent(message, fileName, lineNumber, columnNumber));
</ins><span class="cx"> }
</span><del>- static PassRefPtr<ErrorEvent> create(const AtomicString& type, const ErrorEventInit& initializer)
</del><ins>+ static Ref<ErrorEvent> create(const AtomicString& type, const ErrorEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new ErrorEvent(type, initializer));
</del><ins>+ return adoptRef(*new ErrorEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx"> virtual ~ErrorEvent();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoredomEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Event.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Event.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/Event.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -83,18 +83,18 @@
</span><span class="cx"> CHANGE = 32768
</span><span class="cx"> };
</span><span class="cx">
</span><del>- static PassRefPtr<Event> create()
</del><ins>+ static Ref<Event> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new Event);
</del><ins>+ return adoptRef(*new Event);
</ins><span class="cx"> }
</span><del>- WEBCORE_EXPORT static PassRefPtr<Event> create(const AtomicString& type, bool canBubble, bool cancelable)
</del><ins>+ WEBCORE_EXPORT static Ref<Event> create(const AtomicString& type, bool canBubble, bool cancelable)
</ins><span class="cx"> {
</span><del>- return adoptRef(new Event(type, canBubble, cancelable));
</del><ins>+ return adoptRef(*new Event(type, canBubble, cancelable));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<Event> create(const AtomicString& type, const EventInit& initializer)
</del><ins>+ static Ref<Event> create(const AtomicString& type, const EventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new Event(type, initializer));
</del><ins>+ return adoptRef(*new Event(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> virtual ~Event();
</span></span></pre></div>
<a id="trunkSourceWebCoredomFocusEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/FocusEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/FocusEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/FocusEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -41,19 +41,19 @@
</span><span class="cx">
</span><span class="cx"> class FocusEvent final : public UIEvent {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<FocusEvent> create()
</del><ins>+ static Ref<FocusEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new FocusEvent);
</del><ins>+ return adoptRef(*new FocusEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<FocusEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<AbstractView> view, int detail, PassRefPtr<EventTarget> relatedTarget)
</del><ins>+ static Ref<FocusEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<AbstractView> view, int detail, PassRefPtr<EventTarget> relatedTarget)
</ins><span class="cx"> {
</span><del>- return adoptRef(new FocusEvent(type, canBubble, cancelable, view, detail, relatedTarget));
</del><ins>+ return adoptRef(*new FocusEvent(type, canBubble, cancelable, view, detail, relatedTarget));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<FocusEvent> create(const AtomicString& type, const FocusEventInit& initializer)
</del><ins>+ static Ref<FocusEvent> create(const AtomicString& type, const FocusEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new FocusEvent(type, initializer));
</del><ins>+ return adoptRef(*new FocusEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> virtual EventTarget* relatedTarget() const override { return m_relatedTarget.get(); }
</span></span></pre></div>
<a id="trunkSourceWebCoredomHashChangeEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/HashChangeEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/HashChangeEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/HashChangeEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -37,19 +37,19 @@
</span><span class="cx">
</span><span class="cx"> class HashChangeEvent final : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<HashChangeEvent> create()
</del><ins>+ static Ref<HashChangeEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new HashChangeEvent);
</del><ins>+ return adoptRef(*new HashChangeEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<HashChangeEvent> create(const String& oldURL, const String& newURL)
</del><ins>+ static Ref<HashChangeEvent> create(const String& oldURL, const String& newURL)
</ins><span class="cx"> {
</span><del>- return adoptRef(new HashChangeEvent(oldURL, newURL));
</del><ins>+ return adoptRef(*new HashChangeEvent(oldURL, newURL));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<HashChangeEvent> create(const AtomicString& type, const HashChangeEventInit& initializer)
</del><ins>+ static Ref<HashChangeEvent> create(const AtomicString& type, const HashChangeEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new HashChangeEvent(type, initializer));
</del><ins>+ return adoptRef(*new HashChangeEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void initHashChangeEvent(const AtomicString& eventType, bool canBubble, bool cancelable, const String& oldURL, const String& newURL)
</span></span></pre></div>
<a id="trunkSourceWebCoredomKeyboardEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/KeyboardEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/KeyboardEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/KeyboardEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -57,19 +57,19 @@
</span><span class="cx"> // DOM_KEY_LOCATION_JOYSTICK = 0x05
</span><span class="cx"> };
</span><span class="cx">
</span><del>- static PassRefPtr<KeyboardEvent> create()
</del><ins>+ static Ref<KeyboardEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new KeyboardEvent);
</del><ins>+ return adoptRef(*new KeyboardEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<KeyboardEvent> create(const PlatformKeyboardEvent& platformEvent, AbstractView* view)
</del><ins>+ static Ref<KeyboardEvent> create(const PlatformKeyboardEvent& platformEvent, AbstractView* view)
</ins><span class="cx"> {
</span><del>- return adoptRef(new KeyboardEvent(platformEvent, view));
</del><ins>+ return adoptRef(*new KeyboardEvent(platformEvent, view));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<KeyboardEvent> create(const AtomicString& type, const KeyboardEventInit& initializer)
</del><ins>+ static Ref<KeyboardEvent> create(const AtomicString& type, const KeyboardEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new KeyboardEvent(type, initializer));
</del><ins>+ return adoptRef(*new KeyboardEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> virtual ~KeyboardEvent();
</span></span></pre></div>
<a id="trunkSourceWebCoredomMessageEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/MessageEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/MessageEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/MessageEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -53,33 +53,33 @@
</span><span class="cx">
</span><span class="cx"> class MessageEvent final : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<MessageEvent> create()
</del><ins>+ static Ref<MessageEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new MessageEvent);
</del><ins>+ return adoptRef(*new MessageEvent);
</ins><span class="cx"> }
</span><del>- static PassRefPtr<MessageEvent> create(std::unique_ptr<MessagePortArray> ports, const Deprecated::ScriptValue& data = Deprecated::ScriptValue(), const String& origin = String(), const String& lastEventId = String(), PassRefPtr<EventTarget> source = 0)
</del><ins>+ static Ref<MessageEvent> create(std::unique_ptr<MessagePortArray> ports, const Deprecated::ScriptValue& data = Deprecated::ScriptValue(), const String& origin = String(), const String& lastEventId = String(), PassRefPtr<EventTarget> source = 0)
</ins><span class="cx"> {
</span><del>- return adoptRef(new MessageEvent(data, origin, lastEventId, source, WTF::move(ports)));
</del><ins>+ return adoptRef(*new MessageEvent(data, origin, lastEventId, source, WTF::move(ports)));
</ins><span class="cx"> }
</span><del>- static PassRefPtr<MessageEvent> create(std::unique_ptr<MessagePortArray> ports, PassRefPtr<SerializedScriptValue> data, const String& origin = String(), const String& lastEventId = String(), PassRefPtr<EventTarget> source = 0)
</del><ins>+ static Ref<MessageEvent> create(std::unique_ptr<MessagePortArray> ports, PassRefPtr<SerializedScriptValue> data, const String& origin = String(), const String& lastEventId = String(), PassRefPtr<EventTarget> source = 0)
</ins><span class="cx"> {
</span><del>- return adoptRef(new MessageEvent(data, origin, lastEventId, source, WTF::move(ports)));
</del><ins>+ return adoptRef(*new MessageEvent(data, origin, lastEventId, source, WTF::move(ports)));
</ins><span class="cx"> }
</span><del>- static PassRefPtr<MessageEvent> create(const String& data, const String& origin = String())
</del><ins>+ static Ref<MessageEvent> create(const String& data, const String& origin = String())
</ins><span class="cx"> {
</span><del>- return adoptRef(new MessageEvent(data, origin));
</del><ins>+ return adoptRef(*new MessageEvent(data, origin));
</ins><span class="cx"> }
</span><del>- static PassRefPtr<MessageEvent> create(PassRefPtr<Blob> data, const String& origin = String())
</del><ins>+ static Ref<MessageEvent> create(PassRefPtr<Blob> data, const String& origin = String())
</ins><span class="cx"> {
</span><del>- return adoptRef(new MessageEvent(data, origin));
</del><ins>+ return adoptRef(*new MessageEvent(data, origin));
</ins><span class="cx"> }
</span><del>- static PassRefPtr<MessageEvent> create(PassRefPtr<ArrayBuffer> data, const String& origin = String())
</del><ins>+ static Ref<MessageEvent> create(PassRefPtr<ArrayBuffer> data, const String& origin = String())
</ins><span class="cx"> {
</span><del>- return adoptRef(new MessageEvent(data, origin));
</del><ins>+ return adoptRef(*new MessageEvent(data, origin));
</ins><span class="cx"> }
</span><del>- static PassRefPtr<MessageEvent> create(const AtomicString& type, const MessageEventInit& initializer)
</del><ins>+ static Ref<MessageEvent> create(const AtomicString& type, const MessageEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new MessageEvent(type, initializer));
</del><ins>+ return adoptRef(*new MessageEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx"> virtual ~MessageEvent();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoredomMouseEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/MouseEvent.cpp (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/MouseEvent.cpp        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/MouseEvent.cpp        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -47,12 +47,12 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<MouseEvent> MouseEvent::create(const AtomicString& type, const MouseEventInit& initializer)
</del><ins>+Ref<MouseEvent> MouseEvent::create(const AtomicString& type, const MouseEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new MouseEvent(type, initializer));
</del><ins>+ return adoptRef(*new MouseEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<MouseEvent> MouseEvent::create(const AtomicString& eventType, PassRefPtr<AbstractView> view, const PlatformMouseEvent& event, int detail, PassRefPtr<Node> relatedTarget)
</del><ins>+Ref<MouseEvent> MouseEvent::create(const AtomicString& eventType, PassRefPtr<AbstractView> view, const PlatformMouseEvent& event, int detail, PassRefPtr<Node> relatedTarget)
</ins><span class="cx"> {
</span><span class="cx"> ASSERT(event.type() == PlatformEvent::MouseMoved || event.button() != NoButton);
</span><span class="cx">
</span><span class="lines">@@ -69,7 +69,7 @@
</span><span class="cx"> relatedTarget);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<MouseEvent> MouseEvent::create(const AtomicString& type, bool canBubble, bool cancelable, double timestamp, PassRefPtr<AbstractView> view,
</del><ins>+Ref<MouseEvent> MouseEvent::create(const AtomicString& type, bool canBubble, bool cancelable, double timestamp, PassRefPtr<AbstractView> view,
</ins><span class="cx"> int detail, int screenX, int screenY, int pageX, int pageY,
</span><span class="cx"> #if ENABLE(POINTER_LOCK)
</span><span class="cx"> int movementX, int movementY,
</span><span class="lines">@@ -86,7 +86,7 @@
</span><span class="cx"> ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget, 0, false);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<MouseEvent> MouseEvent::create(const AtomicString& type, bool canBubble, bool cancelable, double timestamp, PassRefPtr<AbstractView> view,
</del><ins>+Ref<MouseEvent> MouseEvent::create(const AtomicString& type, bool canBubble, bool cancelable, double timestamp, PassRefPtr<AbstractView> view,
</ins><span class="cx"> int detail, int screenX, int screenY, int pageX, int pageY,
</span><span class="cx"> #if ENABLE(POINTER_LOCK)
</span><span class="cx"> int movementX, int movementY,
</span><span class="lines">@@ -94,7 +94,7 @@
</span><span class="cx"> bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, unsigned short button,
</span><span class="cx"> PassRefPtr<EventTarget> relatedTarget, PassRefPtr<DataTransfer> dataTransfer, bool isSimulated)
</span><span class="cx"> {
</span><del>- return adoptRef(new MouseEvent(type, canBubble, cancelable, timestamp, view,
</del><ins>+ return adoptRef(*new MouseEvent(type, canBubble, cancelable, timestamp, view,
</ins><span class="cx"> detail, screenX, screenY, pageX, pageY,
</span><span class="cx"> #if ENABLE(POINTER_LOCK)
</span><span class="cx"> movementX, movementY,
</span><span class="lines">@@ -257,9 +257,9 @@
</span><span class="cx"> return clonedMouseEvent.release();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<SimulatedMouseEvent> SimulatedMouseEvent::create(const AtomicString& eventType, PassRefPtr<AbstractView> view, PassRefPtr<Event> underlyingEvent, Element* target)
</del><ins>+Ref<SimulatedMouseEvent> SimulatedMouseEvent::create(const AtomicString& eventType, PassRefPtr<AbstractView> view, PassRefPtr<Event> underlyingEvent, Element* target)
</ins><span class="cx"> {
</span><del>- return adoptRef(new SimulatedMouseEvent(eventType, view, underlyingEvent, target));
</del><ins>+ return adoptRef(*new SimulatedMouseEvent(eventType, view, underlyingEvent, target));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> SimulatedMouseEvent::~SimulatedMouseEvent()
</span></span></pre></div>
<a id="trunkSourceWebCoredomMouseEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/MouseEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/MouseEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/MouseEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -48,12 +48,12 @@
</span><span class="cx">
</span><span class="cx"> class MouseEvent : public MouseRelatedEvent {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<MouseEvent> create()
</del><ins>+ static Ref<MouseEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new MouseEvent);
</del><ins>+ return adoptRef(*new MouseEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- WEBCORE_EXPORT static PassRefPtr<MouseEvent> create(const AtomicString& type, bool canBubble, bool cancelable, double timestamp, PassRefPtr<AbstractView>,
</del><ins>+ WEBCORE_EXPORT static Ref<MouseEvent> create(const AtomicString& type, bool canBubble, bool cancelable, double timestamp, PassRefPtr<AbstractView>,
</ins><span class="cx"> int detail, int screenX, int screenY, int pageX, int pageY,
</span><span class="cx"> #if ENABLE(POINTER_LOCK)
</span><span class="cx"> int movementX, int movementY,
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx"> bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, unsigned short button,
</span><span class="cx"> PassRefPtr<EventTarget> relatedTarget);
</span><span class="cx">
</span><del>- WEBCORE_EXPORT static PassRefPtr<MouseEvent> create(const AtomicString& type, bool canBubble, bool cancelable, double timestamp, PassRefPtr<AbstractView>,
</del><ins>+ WEBCORE_EXPORT static Ref<MouseEvent> create(const AtomicString& type, bool canBubble, bool cancelable, double timestamp, PassRefPtr<AbstractView>,
</ins><span class="cx"> int detail, int screenX, int screenY, int pageX, int pageY,
</span><span class="cx"> #if ENABLE(POINTER_LOCK)
</span><span class="cx"> int movementX, int movementY,
</span><span class="lines">@@ -69,9 +69,9 @@
</span><span class="cx"> bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, unsigned short button,
</span><span class="cx"> PassRefPtr<EventTarget> relatedTarget, PassRefPtr<DataTransfer>, bool isSimulated = false);
</span><span class="cx">
</span><del>- WEBCORE_EXPORT static PassRefPtr<MouseEvent> create(const AtomicString& eventType, PassRefPtr<AbstractView>, const PlatformMouseEvent&, int detail, PassRefPtr<Node> relatedTarget);
</del><ins>+ WEBCORE_EXPORT static Ref<MouseEvent> create(const AtomicString& eventType, PassRefPtr<AbstractView>, const PlatformMouseEvent&, int detail, PassRefPtr<Node> relatedTarget);
</ins><span class="cx">
</span><del>- static PassRefPtr<MouseEvent> create(const AtomicString& eventType, const MouseEventInit&);
</del><ins>+ static Ref<MouseEvent> create(const AtomicString& eventType, const MouseEventInit&);
</ins><span class="cx">
</span><span class="cx"> virtual ~MouseEvent();
</span><span class="cx">
</span><span class="lines">@@ -127,7 +127,7 @@
</span><span class="cx">
</span><span class="cx"> class SimulatedMouseEvent final : public MouseEvent {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<SimulatedMouseEvent> create(const AtomicString& eventType, PassRefPtr<AbstractView>, PassRefPtr<Event> underlyingEvent, Element* target);
</del><ins>+ static Ref<SimulatedMouseEvent> create(const AtomicString& eventType, PassRefPtr<AbstractView>, PassRefPtr<Event> underlyingEvent, Element* target);
</ins><span class="cx"> virtual ~SimulatedMouseEvent();
</span><span class="cx">
</span><span class="cx"> private:
</span></span></pre></div>
<a id="trunkSourceWebCoredomMutationEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/MutationEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/MutationEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/MutationEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -39,15 +39,15 @@
</span><span class="cx"> REMOVAL = 3
</span><span class="cx"> };
</span><span class="cx">
</span><del>- static PassRefPtr<MutationEvent> create()
</del><ins>+ static Ref<MutationEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new MutationEvent);
</del><ins>+ return adoptRef(*new MutationEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<MutationEvent> create(const AtomicString& type, bool canBubble, PassRefPtr<Node> relatedNode = 0,
</del><ins>+ static Ref<MutationEvent> create(const AtomicString& type, bool canBubble, PassRefPtr<Node> relatedNode = 0,
</ins><span class="cx"> const String& prevValue = String(), const String& newValue = String(), const String& attrName = String(), unsigned short attrChange = 0)
</span><span class="cx"> {
</span><del>- return adoptRef(new MutationEvent(type, canBubble, false, relatedNode, prevValue, newValue, attrName, attrChange));
</del><ins>+ return adoptRef(*new MutationEvent(type, canBubble, false, relatedNode, prevValue, newValue, attrName, attrChange));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void initMutationEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<Node> relatedNode,
</span></span></pre></div>
<a id="trunkSourceWebCoredomOverflowEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/OverflowEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/OverflowEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/OverflowEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -46,17 +46,17 @@
</span><span class="cx"> BOTH = 2
</span><span class="cx"> };
</span><span class="cx">
</span><del>- static PassRefPtr<OverflowEvent> create()
</del><ins>+ static Ref<OverflowEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new OverflowEvent);
</del><ins>+ return adoptRef(*new OverflowEvent);
</ins><span class="cx"> }
</span><del>- static PassRefPtr<OverflowEvent> create(bool horizontalOverflowChanged, bool horizontalOverflow, bool verticalOverflowChanged, bool verticalOverflow)
</del><ins>+ static Ref<OverflowEvent> create(bool horizontalOverflowChanged, bool horizontalOverflow, bool verticalOverflowChanged, bool verticalOverflow)
</ins><span class="cx"> {
</span><del>- return adoptRef(new OverflowEvent(horizontalOverflowChanged, horizontalOverflow, verticalOverflowChanged, verticalOverflow));
</del><ins>+ return adoptRef(*new OverflowEvent(horizontalOverflowChanged, horizontalOverflow, verticalOverflowChanged, verticalOverflow));
</ins><span class="cx"> }
</span><del>- static PassRefPtr<OverflowEvent> create(const AtomicString& type, const OverflowEventInit& initializer)
</del><ins>+ static Ref<OverflowEvent> create(const AtomicString& type, const OverflowEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new OverflowEvent(type, initializer));
</del><ins>+ return adoptRef(*new OverflowEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void initOverflowEvent(unsigned short orient, bool horizontalOverflow, bool verticalOverflow);
</span></span></pre></div>
<a id="trunkSourceWebCoredomPageTransitionEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/PageTransitionEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/PageTransitionEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/PageTransitionEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -38,17 +38,17 @@
</span><span class="cx">
</span><span class="cx"> class PageTransitionEvent final : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<PageTransitionEvent> create()
</del><ins>+ static Ref<PageTransitionEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new PageTransitionEvent);
</del><ins>+ return adoptRef(*new PageTransitionEvent);
</ins><span class="cx"> }
</span><del>- static PassRefPtr<PageTransitionEvent> create(const AtomicString& type, bool persisted)
</del><ins>+ static Ref<PageTransitionEvent> create(const AtomicString& type, bool persisted)
</ins><span class="cx"> {
</span><del>- return adoptRef(new PageTransitionEvent(type, persisted));
</del><ins>+ return adoptRef(*new PageTransitionEvent(type, persisted));
</ins><span class="cx"> }
</span><del>- static PassRefPtr<PageTransitionEvent> create(const AtomicString& type, const PageTransitionEventInit& initializer)
</del><ins>+ static Ref<PageTransitionEvent> create(const AtomicString& type, const PageTransitionEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new PageTransitionEvent(type, initializer));
</del><ins>+ return adoptRef(*new PageTransitionEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> virtual ~PageTransitionEvent();
</span></span></pre></div>
<a id="trunkSourceWebCoredomPopStateEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/PopStateEvent.cpp (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/PopStateEvent.cpp        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/PopStateEvent.cpp        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -64,19 +64,19 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<PopStateEvent> PopStateEvent::create()
</del><ins>+Ref<PopStateEvent> PopStateEvent::create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new PopStateEvent);
</del><ins>+ return adoptRef(*new PopStateEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<PopStateEvent> PopStateEvent::create(PassRefPtr<SerializedScriptValue> serializedState, PassRefPtr<History> history)
</del><ins>+Ref<PopStateEvent> PopStateEvent::create(PassRefPtr<SerializedScriptValue> serializedState, PassRefPtr<History> history)
</ins><span class="cx"> {
</span><del>- return adoptRef(new PopStateEvent(serializedState, history));
</del><ins>+ return adoptRef(*new PopStateEvent(serializedState, history));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<PopStateEvent> PopStateEvent::create(const AtomicString& type, const PopStateEventInit& initializer)
</del><ins>+Ref<PopStateEvent> PopStateEvent::create(const AtomicString& type, const PopStateEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new PopStateEvent(type, initializer));
</del><ins>+ return adoptRef(*new PopStateEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> EventInterface PopStateEvent::eventInterface() const
</span></span></pre></div>
<a id="trunkSourceWebCoredomPopStateEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/PopStateEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/PopStateEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/PopStateEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -44,9 +44,9 @@
</span><span class="cx"> class PopStateEvent final : public Event {
</span><span class="cx"> public:
</span><span class="cx"> virtual ~PopStateEvent();
</span><del>- static PassRefPtr<PopStateEvent> create();
- static PassRefPtr<PopStateEvent> create(PassRefPtr<SerializedScriptValue>, PassRefPtr<History>);
- static PassRefPtr<PopStateEvent> create(const AtomicString&, const PopStateEventInit&);
</del><ins>+ static Ref<PopStateEvent> create();
+ static Ref<PopStateEvent> create(PassRefPtr<SerializedScriptValue>, PassRefPtr<History>);
+ static Ref<PopStateEvent> create(const AtomicString&, const PopStateEventInit&);
</ins><span class="cx">
</span><span class="cx"> PassRefPtr<SerializedScriptValue> serializedState() const { return m_serializedState; }
</span><span class="cx"> const Deprecated::ScriptValue& state() const { return m_state; }
</span></span></pre></div>
<a id="trunkSourceWebCoredomProgressEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ProgressEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ProgressEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/ProgressEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -40,17 +40,17 @@
</span><span class="cx">
</span><span class="cx"> class ProgressEvent : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<ProgressEvent> create()
</del><ins>+ static Ref<ProgressEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new ProgressEvent);
</del><ins>+ return adoptRef(*new ProgressEvent);
</ins><span class="cx"> }
</span><del>- static PassRefPtr<ProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total)
</del><ins>+ static Ref<ProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total)
</ins><span class="cx"> {
</span><del>- return adoptRef(new ProgressEvent(type, lengthComputable, loaded, total));
</del><ins>+ return adoptRef(*new ProgressEvent(type, lengthComputable, loaded, total));
</ins><span class="cx"> }
</span><del>- static PassRefPtr<ProgressEvent> create(const AtomicString& type, const ProgressEventInit& initializer)
</del><ins>+ static Ref<ProgressEvent> create(const AtomicString& type, const ProgressEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new ProgressEvent(type, initializer));
</del><ins>+ return adoptRef(*new ProgressEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool lengthComputable() const { return m_lengthComputable; }
</span></span></pre></div>
<a id="trunkSourceWebCoredomTextEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/TextEvent.cpp (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/TextEvent.cpp        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/TextEvent.cpp        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -32,34 +32,34 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-PassRefPtr<TextEvent> TextEvent::create()
</del><ins>+Ref<TextEvent> TextEvent::create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new TextEvent);
</del><ins>+ return adoptRef(*new TextEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<TextEvent> TextEvent::create(PassRefPtr<AbstractView> view, const String& data, TextEventInputType inputType)
</del><ins>+Ref<TextEvent> TextEvent::create(PassRefPtr<AbstractView> view, const String& data, TextEventInputType inputType)
</ins><span class="cx"> {
</span><del>- return adoptRef(new TextEvent(view, data, inputType));
</del><ins>+ return adoptRef(*new TextEvent(view, data, inputType));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<TextEvent> TextEvent::createForPlainTextPaste(PassRefPtr<AbstractView> view, const String& data, bool shouldSmartReplace)
</del><ins>+Ref<TextEvent> TextEvent::createForPlainTextPaste(PassRefPtr<AbstractView> view, const String& data, bool shouldSmartReplace)
</ins><span class="cx"> {
</span><del>- return adoptRef(new TextEvent(view, data, 0, shouldSmartReplace, false, MailBlockquoteHandling::RespectBlockquote));
</del><ins>+ return adoptRef(*new TextEvent(view, data, 0, shouldSmartReplace, false, MailBlockquoteHandling::RespectBlockquote));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<TextEvent> TextEvent::createForFragmentPaste(PassRefPtr<AbstractView> view, PassRefPtr<DocumentFragment> data, bool shouldSmartReplace, bool shouldMatchStyle, MailBlockquoteHandling mailBlockquoteHandling)
</del><ins>+Ref<TextEvent> TextEvent::createForFragmentPaste(PassRefPtr<AbstractView> view, PassRefPtr<DocumentFragment> data, bool shouldSmartReplace, bool shouldMatchStyle, MailBlockquoteHandling mailBlockquoteHandling)
</ins><span class="cx"> {
</span><del>- return adoptRef(new TextEvent(view, "", data, shouldSmartReplace, shouldMatchStyle, mailBlockquoteHandling));
</del><ins>+ return adoptRef(*new TextEvent(view, "", data, shouldSmartReplace, shouldMatchStyle, mailBlockquoteHandling));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<TextEvent> TextEvent::createForDrop(PassRefPtr<AbstractView> view, const String& data)
</del><ins>+Ref<TextEvent> TextEvent::createForDrop(PassRefPtr<AbstractView> view, const String& data)
</ins><span class="cx"> {
</span><del>- return adoptRef(new TextEvent(view, data, TextEventInputDrop));
</del><ins>+ return adoptRef(*new TextEvent(view, data, TextEventInputDrop));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<TextEvent> TextEvent::createForDictation(PassRefPtr<AbstractView> view, const String& data, const Vector<DictationAlternative>& dictationAlternatives)
</del><ins>+Ref<TextEvent> TextEvent::createForDictation(PassRefPtr<AbstractView> view, const String& data, const Vector<DictationAlternative>& dictationAlternatives)
</ins><span class="cx"> {
</span><del>- return adoptRef(new TextEvent(view, data, dictationAlternatives));
</del><ins>+ return adoptRef(*new TextEvent(view, data, dictationAlternatives));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> TextEvent::TextEvent()
</span></span></pre></div>
<a id="trunkSourceWebCoredomTextEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/TextEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/TextEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/TextEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -40,12 +40,12 @@
</span><span class="cx"> class TextEvent final : public UIEvent {
</span><span class="cx"> public:
</span><span class="cx">
</span><del>- static PassRefPtr<TextEvent> create();
- static PassRefPtr<TextEvent> create(PassRefPtr<AbstractView>, const String& data, TextEventInputType = TextEventInputKeyboard);
- static PassRefPtr<TextEvent> createForPlainTextPaste(PassRefPtr<AbstractView>, const String& data, bool shouldSmartReplace);
- static PassRefPtr<TextEvent> createForFragmentPaste(PassRefPtr<AbstractView>, PassRefPtr<DocumentFragment> data, bool shouldSmartReplace, bool shouldMatchStyle, MailBlockquoteHandling);
- static PassRefPtr<TextEvent> createForDrop(PassRefPtr<AbstractView>, const String& data);
- static PassRefPtr<TextEvent> createForDictation(PassRefPtr<AbstractView>, const String& data, const Vector<DictationAlternative>& dictationAlternatives);
</del><ins>+ static Ref<TextEvent> create();
+ static Ref<TextEvent> create(PassRefPtr<AbstractView>, const String& data, TextEventInputType = TextEventInputKeyboard);
+ static Ref<TextEvent> createForPlainTextPaste(PassRefPtr<AbstractView>, const String& data, bool shouldSmartReplace);
+ static Ref<TextEvent> createForFragmentPaste(PassRefPtr<AbstractView>, PassRefPtr<DocumentFragment> data, bool shouldSmartReplace, bool shouldMatchStyle, MailBlockquoteHandling);
+ static Ref<TextEvent> createForDrop(PassRefPtr<AbstractView>, const String& data);
+ static Ref<TextEvent> createForDictation(PassRefPtr<AbstractView>, const String& data, const Vector<DictationAlternative>& dictationAlternatives);
</ins><span class="cx">
</span><span class="cx"> virtual ~TextEvent();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoredomTouchEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/TouchEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/TouchEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/TouchEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -40,9 +40,9 @@
</span><span class="cx"> public:
</span><span class="cx"> virtual ~TouchEvent();
</span><span class="cx">
</span><del>- static PassRefPtr<TouchEvent> create()
</del><ins>+ static Ref<TouchEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new TouchEvent);
</del><ins>+ return adoptRef(*new TouchEvent);
</ins><span class="cx"> }
</span><span class="cx"> static PassRefPtr<TouchEvent> create(TouchList* touches,
</span><span class="cx"> TouchList* targetTouches, TouchList* changedTouches,
</span></span></pre></div>
<a id="trunkSourceWebCoredomTransitionEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/TransitionEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/TransitionEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/TransitionEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -41,17 +41,17 @@
</span><span class="cx">
</span><span class="cx"> class TransitionEvent final : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<TransitionEvent> create()
</del><ins>+ static Ref<TransitionEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new TransitionEvent);
</del><ins>+ return adoptRef(*new TransitionEvent);
</ins><span class="cx"> }
</span><del>- static PassRefPtr<TransitionEvent> create(const AtomicString& type, const String& propertyName, double elapsedTime, const String& pseudoElement)
</del><ins>+ static Ref<TransitionEvent> create(const AtomicString& type, const String& propertyName, double elapsedTime, const String& pseudoElement)
</ins><span class="cx"> {
</span><del>- return adoptRef(new TransitionEvent(type, propertyName, elapsedTime, pseudoElement));
</del><ins>+ return adoptRef(*new TransitionEvent(type, propertyName, elapsedTime, pseudoElement));
</ins><span class="cx"> }
</span><del>- static PassRefPtr<TransitionEvent> create(const AtomicString& type, const TransitionEventInit& initializer)
</del><ins>+ static Ref<TransitionEvent> create(const AtomicString& type, const TransitionEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new TransitionEvent(type, initializer));
</del><ins>+ return adoptRef(*new TransitionEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> virtual ~TransitionEvent();
</span></span></pre></div>
<a id="trunkSourceWebCoredomUIEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/UIEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/UIEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/UIEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -41,17 +41,17 @@
</span><span class="cx">
</span><span class="cx"> class UIEvent : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<UIEvent> create()
</del><ins>+ static Ref<UIEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new UIEvent);
</del><ins>+ return adoptRef(*new UIEvent);
</ins><span class="cx"> }
</span><del>- static PassRefPtr<UIEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<AbstractView> view, int detail)
</del><ins>+ static Ref<UIEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<AbstractView> view, int detail)
</ins><span class="cx"> {
</span><del>- return adoptRef(new UIEvent(type, canBubble, cancelable, view, detail));
</del><ins>+ return adoptRef(*new UIEvent(type, canBubble, cancelable, view, detail));
</ins><span class="cx"> }
</span><del>- static PassRefPtr<UIEvent> create(const AtomicString& type, const UIEventInit& initializer)
</del><ins>+ static Ref<UIEvent> create(const AtomicString& type, const UIEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new UIEvent(type, initializer));
</del><ins>+ return adoptRef(*new UIEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx"> virtual ~UIEvent();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoredomWebKitAnimationEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/WebKitAnimationEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/WebKitAnimationEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/WebKitAnimationEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -39,17 +39,17 @@
</span><span class="cx">
</span><span class="cx"> class WebKitAnimationEvent final : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<WebKitAnimationEvent> create()
</del><ins>+ static Ref<WebKitAnimationEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new WebKitAnimationEvent);
</del><ins>+ return adoptRef(*new WebKitAnimationEvent);
</ins><span class="cx"> }
</span><del>- static PassRefPtr<WebKitAnimationEvent> create(const AtomicString& type, const String& animationName, double elapsedTime)
</del><ins>+ static Ref<WebKitAnimationEvent> create(const AtomicString& type, const String& animationName, double elapsedTime)
</ins><span class="cx"> {
</span><del>- return adoptRef(new WebKitAnimationEvent(type, animationName, elapsedTime));
</del><ins>+ return adoptRef(*new WebKitAnimationEvent(type, animationName, elapsedTime));
</ins><span class="cx"> }
</span><del>- static PassRefPtr<WebKitAnimationEvent> create(const AtomicString& type, const WebKitAnimationEventInit& initializer)
</del><ins>+ static Ref<WebKitAnimationEvent> create(const AtomicString& type, const WebKitAnimationEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new WebKitAnimationEvent(type, initializer));
</del><ins>+ return adoptRef(*new WebKitAnimationEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> virtual ~WebKitAnimationEvent();
</span></span></pre></div>
<a id="trunkSourceWebCoredomWebKitTransitionEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/WebKitTransitionEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/WebKitTransitionEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/WebKitTransitionEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -40,17 +40,17 @@
</span><span class="cx">
</span><span class="cx"> class WebKitTransitionEvent final : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<WebKitTransitionEvent> create()
</del><ins>+ static Ref<WebKitTransitionEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new WebKitTransitionEvent);
</del><ins>+ return adoptRef(*new WebKitTransitionEvent);
</ins><span class="cx"> }
</span><del>- static PassRefPtr<WebKitTransitionEvent> create(const AtomicString& type, const String& propertyName, double elapsedTime, const String& pseudoElement)
</del><ins>+ static Ref<WebKitTransitionEvent> create(const AtomicString& type, const String& propertyName, double elapsedTime, const String& pseudoElement)
</ins><span class="cx"> {
</span><del>- return adoptRef(new WebKitTransitionEvent(type, propertyName, elapsedTime, pseudoElement));
</del><ins>+ return adoptRef(*new WebKitTransitionEvent(type, propertyName, elapsedTime, pseudoElement));
</ins><span class="cx"> }
</span><del>- static PassRefPtr<WebKitTransitionEvent> create(const AtomicString& type, const WebKitTransitionEventInit& initializer)
</del><ins>+ static Ref<WebKitTransitionEvent> create(const AtomicString& type, const WebKitTransitionEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new WebKitTransitionEvent(type, initializer));
</del><ins>+ return adoptRef(*new WebKitTransitionEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> virtual ~WebKitTransitionEvent();
</span></span></pre></div>
<a id="trunkSourceWebCoredomWheelEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/WheelEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/WheelEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/dom/WheelEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -54,19 +54,19 @@
</span><span class="cx"> DOM_DELTA_PAGE
</span><span class="cx"> };
</span><span class="cx">
</span><del>- static PassRefPtr<WheelEvent> create()
</del><ins>+ static Ref<WheelEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new WheelEvent);
</del><ins>+ return adoptRef(*new WheelEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<WheelEvent> create(const AtomicString& type, const WheelEventInit& initializer)
</del><ins>+ static Ref<WheelEvent> create(const AtomicString& type, const WheelEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new WheelEvent(type, initializer));
</del><ins>+ return adoptRef(*new WheelEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<WheelEvent> create(const PlatformWheelEvent& event, PassRefPtr<AbstractView> view)
</del><ins>+ static Ref<WheelEvent> create(const PlatformWheelEvent& event, PassRefPtr<AbstractView> view)
</ins><span class="cx"> {
</span><del>- return adoptRef(new WheelEvent(event, view));
</del><ins>+ return adoptRef(*new WheelEvent(event, view));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void initWheelEvent(int rawDeltaX, int rawDeltaY, PassRefPtr<AbstractView>,
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlMediaKeyEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/MediaKeyEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/MediaKeyEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/html/MediaKeyEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -49,14 +49,14 @@
</span><span class="cx"> public:
</span><span class="cx"> virtual ~MediaKeyEvent();
</span><span class="cx">
</span><del>- static PassRefPtr<MediaKeyEvent> create()
</del><ins>+ static Ref<MediaKeyEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new MediaKeyEvent);
</del><ins>+ return adoptRef(*new MediaKeyEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<MediaKeyEvent> create(const AtomicString& type, const MediaKeyEventInit& initializer)
</del><ins>+ static Ref<MediaKeyEvent> create(const AtomicString& type, const MediaKeyEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new MediaKeyEvent(type, initializer));
</del><ins>+ return adoptRef(*new MediaKeyEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> virtual EventInterface eventInterface() const override;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLContextEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLContextEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLContextEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/html/canvas/WebGLContextEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -38,17 +38,17 @@
</span><span class="cx">
</span><span class="cx"> class WebGLContextEvent final : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<WebGLContextEvent> create()
</del><ins>+ static Ref<WebGLContextEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new WebGLContextEvent);
</del><ins>+ return adoptRef(*new WebGLContextEvent);
</ins><span class="cx"> }
</span><del>- static PassRefPtr<WebGLContextEvent> create(const AtomicString& type, bool canBubble, bool cancelable, const String& statusMessage)
</del><ins>+ static Ref<WebGLContextEvent> create(const AtomicString& type, bool canBubble, bool cancelable, const String& statusMessage)
</ins><span class="cx"> {
</span><del>- return adoptRef(new WebGLContextEvent(type, canBubble, cancelable, statusMessage));
</del><ins>+ return adoptRef(*new WebGLContextEvent(type, canBubble, cancelable, statusMessage));
</ins><span class="cx"> }
</span><del>- static PassRefPtr<WebGLContextEvent> create(const AtomicString& type, const WebGLContextEventInit& initializer)
</del><ins>+ static Ref<WebGLContextEvent> create(const AtomicString& type, const WebGLContextEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new WebGLContextEvent(type, initializer));
</del><ins>+ return adoptRef(*new WebGLContextEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx"> virtual ~WebGLContextEvent();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorehtmltrackTrackEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/track/TrackEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/track/TrackEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/html/track/TrackEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -43,14 +43,14 @@
</span><span class="cx"> public:
</span><span class="cx"> virtual ~TrackEvent();
</span><span class="cx">
</span><del>- static PassRefPtr<TrackEvent> create()
</del><ins>+ static Ref<TrackEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new TrackEvent);
</del><ins>+ return adoptRef(*new TrackEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><del>- static PassRefPtr<TrackEvent> create(const AtomicString& type, const TrackEventInit& initializer)
</del><ins>+ static Ref<TrackEvent> create(const AtomicString& type, const TrackEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new TrackEvent(type, initializer));
</del><ins>+ return adoptRef(*new TrackEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> virtual EventInterface eventInterface() const override;
</span></span></pre></div>
<a id="trunkSourceWebCorestorageStorageEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/storage/StorageEvent.cpp (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/storage/StorageEvent.cpp        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/storage/StorageEvent.cpp        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -35,9 +35,9 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<StorageEvent> StorageEvent::create()
</del><ins>+Ref<StorageEvent> StorageEvent::create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new StorageEvent);
</del><ins>+ return adoptRef(*new StorageEvent);
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> StorageEvent::StorageEvent()
</span><span class="lines">@@ -48,14 +48,14 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<StorageEvent> StorageEvent::create(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea)
</del><ins>+Ref<StorageEvent> StorageEvent::create(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea)
</ins><span class="cx"> {
</span><del>- return adoptRef(new StorageEvent(type, key, oldValue, newValue, url, storageArea));
</del><ins>+ return adoptRef(*new StorageEvent(type, key, oldValue, newValue, url, storageArea));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-PassRefPtr<StorageEvent> StorageEvent::create(const AtomicString& type, const StorageEventInit& initializer)
</del><ins>+Ref<StorageEvent> StorageEvent::create(const AtomicString& type, const StorageEventInit& initializer)
</ins><span class="cx"> {
</span><del>- return adoptRef(new StorageEvent(type, initializer));
</del><ins>+ return adoptRef(*new StorageEvent(type, initializer));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> StorageEvent::StorageEvent(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea)
</span></span></pre></div>
<a id="trunkSourceWebCorestorageStorageEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/storage/StorageEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/storage/StorageEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/storage/StorageEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -45,9 +45,9 @@
</span><span class="cx">
</span><span class="cx"> class StorageEvent : public Event {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<StorageEvent> create();
- static PassRefPtr<StorageEvent> create(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea);
- static PassRefPtr<StorageEvent> create(const AtomicString&, const StorageEventInit&);
</del><ins>+ static Ref<StorageEvent> create();
+ static Ref<StorageEvent> create(const AtomicString& type, const String& key, const String& oldValue, const String& newValue, const String& url, Storage* storageArea);
+ static Ref<StorageEvent> create(const AtomicString&, const StorageEventInit&);
</ins><span class="cx"> virtual ~StorageEvent();
</span><span class="cx">
</span><span class="cx"> const String& key() const { return m_key; }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGZoomEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGZoomEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGZoomEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/svg/SVGZoomEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx">
</span><span class="cx"> class SVGZoomEvent : public UIEvent {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<SVGZoomEvent> create() { return adoptRef(new SVGZoomEvent); }
</del><ins>+ static Ref<SVGZoomEvent> create() { return adoptRef(*new SVGZoomEvent); }
</ins><span class="cx">
</span><span class="cx"> // 'SVGZoomEvent' functions
</span><span class="cx"> FloatRect zoomRectScreen() const;
</span></span></pre></div>
<a id="trunkSourceWebCorexmlXMLHttpRequestProgressEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/xml/XMLHttpRequestProgressEvent.h (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/xml/XMLHttpRequestProgressEvent.h        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebCore/xml/XMLHttpRequestProgressEvent.h        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -33,13 +33,13 @@
</span><span class="cx">
</span><span class="cx"> class XMLHttpRequestProgressEvent : public ProgressEvent {
</span><span class="cx"> public:
</span><del>- static PassRefPtr<XMLHttpRequestProgressEvent> create()
</del><ins>+ static Ref<XMLHttpRequestProgressEvent> create()
</ins><span class="cx"> {
</span><del>- return adoptRef(new XMLHttpRequestProgressEvent);
</del><ins>+ return adoptRef(*new XMLHttpRequestProgressEvent);
</ins><span class="cx"> }
</span><del>- static PassRefPtr<XMLHttpRequestProgressEvent> create(const AtomicString& type, bool lengthComputable = false, unsigned long long loaded = 0, unsigned long long total = 0)
</del><ins>+ static Ref<XMLHttpRequestProgressEvent> create(const AtomicString& type, bool lengthComputable = false, unsigned long long loaded = 0, unsigned long long total = 0)
</ins><span class="cx"> {
</span><del>- return adoptRef(new XMLHttpRequestProgressEvent(type, lengthComputable, loaded, total));
</del><ins>+ return adoptRef(*new XMLHttpRequestProgressEvent(type, lengthComputable, loaded, total));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> // Those 2 synonyms are included for compatibility with Firefox.
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageWebPagecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (177263 => 177264)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2014-12-14 10:58:56 UTC (rev 177263)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2014-12-14 12:23:31 UTC (rev 177264)
</span><span class="lines">@@ -2252,7 +2252,7 @@
</span><span class="cx"> if (isKeyboardEventValid && event.type() == WebEvent::KeyDown) {
</span><span class="cx"> PlatformKeyboardEvent platformEvent(platform(event));
</span><span class="cx"> platformEvent.disambiguateKeyDownEvent(PlatformEvent::RawKeyDown);
</span><del>- m_page->focusController().setInitialFocus(forward ? FocusDirectionForward : FocusDirectionBackward, KeyboardEvent::create(platformEvent, frame.document()->defaultView()).get());
</del><ins>+ m_page->focusController().setInitialFocus(forward ? FocusDirectionForward : FocusDirectionBackward, &KeyboardEvent::create(platformEvent, frame.document()->defaultView()).get());
</ins><span class="cx"> return;
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>