<!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>[181169] trunk/Source/WebCore</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/181169">181169</a></dd>
<dt>Author</dt> <dd>darin@apple.com</dd>
<dt>Date</dt> <dd>2015-03-06 10:45:48 -0800 (Fri, 06 Mar 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove unused C++ DOM event handler attribute functions
https://bugs.webkit.org/show_bug.cgi?id=142398

Reviewed by Anders Carlsson.

* dom/EventTarget.h: Removed now-unneeded macros: DEFINE_ATTRIBUTE_EVENT_LISTENER,
DECLARE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER, DEFINE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER,
DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER, DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER,
DECLARE_FORWARDING_ATTRIBUTE_EVENT_LISTENER, DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER.

* Modules/webaudio/AudioScheduledSourceNode.cpp:
(WebCore::AudioScheduledSourceNode::setOnended): Deleted.
(WebCore::AudioScheduledSourceNode::finish): Rewrote this to use dispatchEvent
instead of one-off event-sending code. Also use a lambda to avoid needing two
additional member functions to implement this.
(WebCore::AudioScheduledSourceNode::notifyEndedDispatch): Deleted.
(WebCore::AudioScheduledSourceNode::notifyEnded): Deleted.
* Modules/webaudio/AudioScheduledSourceNode.h: Updated for above.

* Modules/battery/BatteryManager.h: Removed onxxx and setOnxxx functions,
including ones created with macros from EventTarget.h.
* Modules/encryptedmedia/MediaKeySession.h: Ditto.
* Modules/indexeddb/IDBDatabase.h: Ditto.
* Modules/indexeddb/IDBOpenDBRequest.h: Ditto.
* Modules/indexeddb/IDBRequest.h: Ditto.
* Modules/indexeddb/IDBTransaction.h: Ditto.
* Modules/mediastream/MediaStream.h: Ditto.
* Modules/mediastream/MediaStreamTrack.h: Ditto.
* Modules/mediastream/RTCDTMFSender.h: Ditto.
* Modules/mediastream/RTCDataChannel.h: Ditto.
* Modules/mediastream/RTCPeerConnection.h: Ditto.
* Modules/notifications/Notification.h: Ditto.
* Modules/speech/SpeechSynthesisUtterance.h: Ditto.
* Modules/webaudio/AudioContext.h: Ditto.
* Modules/webaudio/ScriptProcessorNode.cpp: Ditto.
* Modules/webaudio/ScriptProcessorNode.h: Ditto.
* Modules/websockets/WebSocket.h: Ditto.
* css/FontLoader.h: Ditto.
* dom/Document.h: Ditto.
* dom/Element.cpp: Ditto.
* dom/Element.h: Ditto.
* dom/MessagePort.h: Ditto.
* fileapi/FileReader.h: Ditto.
* html/HTMLBodyElement.h: Ditto.
* html/HTMLFormElement.h: Ditto.
* html/HTMLFrameSetElement.h: Ditto.
* html/HTMLInputElement.h: Ditto.
* html/HTMLMediaElement.h: Ditto.
* html/HTMLVideoElement.h: Ditto.
* html/track/TextTrack.h: Ditto.
* html/track/TextTrackCue.h: Ditto.
* html/track/TrackListBase.h: Ditto.
* loader/appcache/DOMApplicationCache.h: Ditto.
* page/DOMWindow.h: Ditto.
* page/EventSource.h: Ditto.
* page/Performance.h: Ditto.
* workers/AbstractWorker.h: Ditto.
* workers/DedicatedWorkerGlobalScope.h: Ditto.
* workers/Worker.h: Ditto.
* workers/WorkerGlobalScope.h: Ditto.
* xml/XMLHttpRequest.h: Ditto.
* xml/XMLHttpRequestUpload.h: Ditto.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesbatteryBatteryManagerh">trunk/Source/WebCore/Modules/battery/BatteryManager.h</a></li>
<li><a href="#trunkSourceWebCoreModulesencryptedmediaMediaKeySessionh">trunk/Source/WebCore/Modules/encryptedmedia/MediaKeySession.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBDatabaseh">trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBOpenDBRequesth">trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBRequesth">trunk/Source/WebCore/Modules/indexeddb/IDBRequest.h</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBTransactionh">trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamMediaStreamh">trunk/Source/WebCore/Modules/mediastream/MediaStream.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamMediaStreamTrackh">trunk/Source/WebCore/Modules/mediastream/MediaStreamTrack.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCDTMFSenderh">trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCDataChannelh">trunk/Source/WebCore/Modules/mediastream/RTCDataChannel.h</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamRTCPeerConnectionh">trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.h</a></li>
<li><a href="#trunkSourceWebCoreModulesnotificationsNotificationh">trunk/Source/WebCore/Modules/notifications/Notification.h</a></li>
<li><a href="#trunkSourceWebCoreModulesspeechSpeechSynthesisUtteranceh">trunk/Source/WebCore/Modules/speech/SpeechSynthesisUtterance.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioAudioContexth">trunk/Source/WebCore/Modules/webaudio/AudioContext.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioAudioScheduledSourceNodecpp">trunk/Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.cpp</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioAudioScheduledSourceNodeh">trunk/Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioScriptProcessorNodecpp">trunk/Source/WebCore/Modules/webaudio/ScriptProcessorNode.cpp</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioScriptProcessorNodeh">trunk/Source/WebCore/Modules/webaudio/ScriptProcessorNode.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebsocketsWebSocketh">trunk/Source/WebCore/Modules/websockets/WebSocket.h</a></li>
<li><a href="#trunkSourceWebCorecssFontLoaderh">trunk/Source/WebCore/css/FontLoader.h</a></li>
<li><a href="#trunkSourceWebCoredomDocumenth">trunk/Source/WebCore/dom/Document.h</a></li>
<li><a href="#trunkSourceWebCoredomElementcpp">trunk/Source/WebCore/dom/Element.cpp</a></li>
<li><a href="#trunkSourceWebCoredomElementh">trunk/Source/WebCore/dom/Element.h</a></li>
<li><a href="#trunkSourceWebCoredomEventTargeth">trunk/Source/WebCore/dom/EventTarget.h</a></li>
<li><a href="#trunkSourceWebCoredomMessagePorth">trunk/Source/WebCore/dom/MessagePort.h</a></li>
<li><a href="#trunkSourceWebCorefileapiFileReaderh">trunk/Source/WebCore/fileapi/FileReader.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLBodyElementh">trunk/Source/WebCore/html/HTMLBodyElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFormElementh">trunk/Source/WebCore/html/HTMLFormElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFrameSetElementh">trunk/Source/WebCore/html/HTMLFrameSetElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLInputElementh">trunk/Source/WebCore/html/HTMLInputElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMediaElementh">trunk/Source/WebCore/html/HTMLMediaElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLVideoElementh">trunk/Source/WebCore/html/HTMLVideoElement.h</a></li>
<li><a href="#trunkSourceWebCorehtmltrackTextTrackh">trunk/Source/WebCore/html/track/TextTrack.h</a></li>
<li><a href="#trunkSourceWebCorehtmltrackTextTrackCueh">trunk/Source/WebCore/html/track/TextTrackCue.h</a></li>
<li><a href="#trunkSourceWebCorehtmltrackTrackListBaseh">trunk/Source/WebCore/html/track/TrackListBase.h</a></li>
<li><a href="#trunkSourceWebCoreloaderappcacheDOMApplicationCacheh">trunk/Source/WebCore/loader/appcache/DOMApplicationCache.h</a></li>
<li><a href="#trunkSourceWebCorepageDOMWindowh">trunk/Source/WebCore/page/DOMWindow.h</a></li>
<li><a href="#trunkSourceWebCorepageEventSourceh">trunk/Source/WebCore/page/EventSource.h</a></li>
<li><a href="#trunkSourceWebCorepagePerformanceh">trunk/Source/WebCore/page/Performance.h</a></li>
<li><a href="#trunkSourceWebCoreworkersAbstractWorkerh">trunk/Source/WebCore/workers/AbstractWorker.h</a></li>
<li><a href="#trunkSourceWebCoreworkersDedicatedWorkerGlobalScopeh">trunk/Source/WebCore/workers/DedicatedWorkerGlobalScope.h</a></li>
<li><a href="#trunkSourceWebCoreworkersWorkerh">trunk/Source/WebCore/workers/Worker.h</a></li>
<li><a href="#trunkSourceWebCoreworkersWorkerGlobalScopeh">trunk/Source/WebCore/workers/WorkerGlobalScope.h</a></li>
<li><a href="#trunkSourceWebCorexmlXMLHttpRequesth">trunk/Source/WebCore/xml/XMLHttpRequest.h</a></li>
<li><a href="#trunkSourceWebCorexmlXMLHttpRequestUploadh">trunk/Source/WebCore/xml/XMLHttpRequestUpload.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/ChangeLog        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -1,3 +1,68 @@
</span><ins>+2015-03-06  Darin Adler  &lt;darin@apple.com&gt;
+
+        Remove unused C++ DOM event handler attribute functions
+        https://bugs.webkit.org/show_bug.cgi?id=142398
+
+        Reviewed by Anders Carlsson.
+
+        * dom/EventTarget.h: Removed now-unneeded macros: DEFINE_ATTRIBUTE_EVENT_LISTENER,
+        DECLARE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER, DEFINE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER,
+        DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER, DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER,
+        DECLARE_FORWARDING_ATTRIBUTE_EVENT_LISTENER, DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER.
+
+        * Modules/webaudio/AudioScheduledSourceNode.cpp:
+        (WebCore::AudioScheduledSourceNode::setOnended): Deleted.
+        (WebCore::AudioScheduledSourceNode::finish): Rewrote this to use dispatchEvent
+        instead of one-off event-sending code. Also use a lambda to avoid needing two
+        additional member functions to implement this.
+        (WebCore::AudioScheduledSourceNode::notifyEndedDispatch): Deleted.
+        (WebCore::AudioScheduledSourceNode::notifyEnded): Deleted.
+        * Modules/webaudio/AudioScheduledSourceNode.h: Updated for above.
+
+        * Modules/battery/BatteryManager.h: Removed onxxx and setOnxxx functions,
+        including ones created with macros from EventTarget.h.
+        * Modules/encryptedmedia/MediaKeySession.h: Ditto.
+        * Modules/indexeddb/IDBDatabase.h: Ditto.
+        * Modules/indexeddb/IDBOpenDBRequest.h: Ditto.
+        * Modules/indexeddb/IDBRequest.h: Ditto.
+        * Modules/indexeddb/IDBTransaction.h: Ditto.
+        * Modules/mediastream/MediaStream.h: Ditto.
+        * Modules/mediastream/MediaStreamTrack.h: Ditto.
+        * Modules/mediastream/RTCDTMFSender.h: Ditto.
+        * Modules/mediastream/RTCDataChannel.h: Ditto.
+        * Modules/mediastream/RTCPeerConnection.h: Ditto.
+        * Modules/notifications/Notification.h: Ditto.
+        * Modules/speech/SpeechSynthesisUtterance.h: Ditto.
+        * Modules/webaudio/AudioContext.h: Ditto.
+        * Modules/webaudio/ScriptProcessorNode.cpp: Ditto.
+        * Modules/webaudio/ScriptProcessorNode.h: Ditto.
+        * Modules/websockets/WebSocket.h: Ditto.
+        * css/FontLoader.h: Ditto.
+        * dom/Document.h: Ditto.
+        * dom/Element.cpp: Ditto.
+        * dom/Element.h: Ditto.
+        * dom/MessagePort.h: Ditto.
+        * fileapi/FileReader.h: Ditto.
+        * html/HTMLBodyElement.h: Ditto.
+        * html/HTMLFormElement.h: Ditto.
+        * html/HTMLFrameSetElement.h: Ditto.
+        * html/HTMLInputElement.h: Ditto.
+        * html/HTMLMediaElement.h: Ditto.
+        * html/HTMLVideoElement.h: Ditto.
+        * html/track/TextTrack.h: Ditto.
+        * html/track/TextTrackCue.h: Ditto.
+        * html/track/TrackListBase.h: Ditto.
+        * loader/appcache/DOMApplicationCache.h: Ditto.
+        * page/DOMWindow.h: Ditto.
+        * page/EventSource.h: Ditto.
+        * page/Performance.h: Ditto.
+        * workers/AbstractWorker.h: Ditto.
+        * workers/DedicatedWorkerGlobalScope.h: Ditto.
+        * workers/Worker.h: Ditto.
+        * workers/WorkerGlobalScope.h: Ditto.
+        * xml/XMLHttpRequest.h: Ditto.
+        * xml/XMLHttpRequestUpload.h: Ditto.
+
</ins><span class="cx"> 2015-03-06  Said Abou-Hallawa  &lt;sabouhallawa@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Setting any of the &lt;object&gt; element plugin controlling attributes does not have any affect.
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesbatteryBatteryManagerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/battery/BatteryManager.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/battery/BatteryManager.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/battery/BatteryManager.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -46,11 +46,6 @@
</span><span class="cx">     double dischargingTime();
</span><span class="cx">     double level();
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(chargingchange);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(chargingtimechange);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(dischargingtimechange);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(levelchange);
-
</del><span class="cx">     void didChangeBatteryStatus(PassRefPtr&lt;Event&gt;, PassRefPtr&lt;BatteryStatus&gt;);
</span><span class="cx">     void updateBatteryStatus(PassRefPtr&lt;BatteryStatus&gt;);
</span><span class="cx">     void batteryControllerDestroyed() { m_batteryController = nullptr; }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesencryptedmediaMediaKeySessionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/encryptedmedia/MediaKeySession.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/encryptedmedia/MediaKeySession.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/encryptedmedia/MediaKeySession.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -73,10 +73,6 @@
</span><span class="cx"> 
</span><span class="cx">     void enqueueEvent(PassRefPtr&lt;Event&gt;);
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitkeyadded);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitkeyerror);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitkeymessage);
-
</del><span class="cx">     virtual EventTargetInterface eventTargetInterface() const override { return MediaKeySessionEventTargetInterfaceType; }
</span><span class="cx">     virtual ScriptExecutionContext* scriptExecutionContext() const override { return ActiveDOMObject::scriptExecutionContext(); }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBDatabaseh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -71,10 +71,6 @@
</span><span class="cx">     void deleteObjectStore(const String&amp; name, ExceptionCode&amp;);
</span><span class="cx">     void close();
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(abort);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(versionchange);
-
</del><span class="cx">     // IDBDatabaseCallbacks
</span><span class="cx">     virtual void onVersionChange(uint64_t oldVersion, uint64_t newVersion, IndexedDB::VersionNullness newVersionNullness);
</span><span class="cx">     virtual void onAbort(int64_t, PassRefPtr&lt;IDBDatabaseError&gt;);
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBOpenDBRequesth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -50,9 +50,6 @@
</span><span class="cx">     virtual EventTargetInterface eventTargetInterface() const;
</span><span class="cx">     virtual bool dispatchEvent(PassRefPtr&lt;Event&gt;) override;
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(blocked);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(upgradeneeded);
-
</del><span class="cx"> protected:
</span><span class="cx">     virtual bool shouldEnqueueEvent() const override;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBRequesth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBRequest.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBRequest.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBRequest.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -73,9 +73,6 @@
</span><span class="cx"> 
</span><span class="cx">     const String&amp; readyState() const;
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(success);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
-
</del><span class="cx">     void markEarlyDeath();
</span><span class="cx">     void setCursorDetails(IndexedDB::CursorType, IndexedDB::CursorDirection);
</span><span class="cx">     void setPendingCursor(PassRefPtr&lt;IDBCursor&gt;);
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBTransactionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -96,10 +96,6 @@
</span><span class="cx">     void setActive(bool);
</span><span class="cx">     void setError(PassRefPtr&lt;DOMError&gt;, const String&amp; errorMessage);
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(abort);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(complete);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
-
</del><span class="cx">     void onAbort(PassRefPtr&lt;IDBDatabaseError&gt;);
</span><span class="cx">     void onComplete();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamMediaStreamh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/MediaStream.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/MediaStream.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/mediastream/MediaStream.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -71,15 +71,9 @@
</span><span class="cx"> 
</span><span class="cx">     PassRefPtr&lt;MediaStream&gt; clone();
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(addtrack);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(removetrack);
-
</del><span class="cx">     bool active() const;
</span><span class="cx">     void setActive(bool);
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(active);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(inactive);
-
</del><span class="cx">     MediaStreamPrivate* privateStream() const { return m_private.get(); }
</span><span class="cx"> 
</span><span class="cx">     // EventTarget
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamMediaStreamTrackh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/MediaStreamTrack.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/MediaStreamTrack.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/mediastream/MediaStreamTrack.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -84,12 +84,6 @@
</span><span class="cx">     RefPtr&lt;MediaStreamTrack&gt; clone();
</span><span class="cx">     void stopProducingData();
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mute);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(unmute);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(started);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(ended);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(overconstrained);
-
</del><span class="cx">     RealtimeMediaSource* source() const { return m_privateTrack-&gt;source(); }
</span><span class="cx">     MediaStreamTrackPrivate&amp; privateTrack() { return m_privateTrack.get(); }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCDTMFSenderh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/mediastream/RTCDTMFSender.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -56,8 +56,6 @@
</span><span class="cx">     void insertDTMF(const String&amp; tones, long duration, ExceptionCode&amp;);
</span><span class="cx">     void insertDTMF(const String&amp; tones, long duration, long interToneGap, ExceptionCode&amp;);
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(tonechange);
-
</del><span class="cx">     // EventTarget
</span><span class="cx">     virtual EventTargetInterface eventTargetInterface() const override { return RTCDTMFSenderEventTargetInterfaceType; }
</span><span class="cx">     virtual ScriptExecutionContext* scriptExecutionContext() const override { return ActiveDOMObject::scriptExecutionContext(); }
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCDataChannelh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCDataChannel.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCDataChannel.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/mediastream/RTCDataChannel.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -71,11 +71,6 @@
</span><span class="cx"> 
</span><span class="cx">     void close();
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(open);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(close);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
-
</del><span class="cx">     void stop();
</span><span class="cx"> 
</span><span class="cx">     // EventTarget
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamRTCPeerConnectionh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -103,14 +103,6 @@
</span><span class="cx"> 
</span><span class="cx">     void close(ExceptionCode&amp;);
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(negotiationneeded);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(icecandidate);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(signalingstatechange);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(addstream);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(removestream);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(iceconnectionstatechange);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(datachannel);
-
</del><span class="cx">     // RTCPeerConnectionHandlerClient
</span><span class="cx">     virtual void negotiationNeeded() override;
</span><span class="cx">     virtual void didGenerateIceCandidate(PassRefPtr&lt;RTCIceCandidateDescriptor&gt;) override;
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesnotificationsNotificationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/notifications/Notification.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/notifications/Notification.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/notifications/Notification.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -102,15 +102,6 @@
</span><span class="cx"> 
</span><span class="cx">     TextDirection direction() const { return dir() == &quot;rtl&quot; ? RTL : LTR; }
</span><span class="cx"> 
</span><del>-#if ENABLE(LEGACY_NOTIFICATIONS)
-    EventListener* ondisplay() { return getAttributeEventListener(eventNames().showEvent); }
-    void setOndisplay(PassRefPtr&lt;EventListener&gt; listener) { setAttributeEventListener(eventNames().showEvent, listener); }
-#endif
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(show);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(close);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(click);
-    
</del><span class="cx">     WEBCORE_EXPORT void dispatchClickEvent();
</span><span class="cx">     WEBCORE_EXPORT void dispatchCloseEvent();
</span><span class="cx">     WEBCORE_EXPORT void dispatchErrorEvent();
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesspeechSpeechSynthesisUtteranceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/speech/SpeechSynthesisUtterance.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/speech/SpeechSynthesisUtterance.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/speech/SpeechSynthesisUtterance.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -64,14 +64,6 @@
</span><span class="cx">     double startTime() const { return m_platformUtterance-&gt;startTime(); }
</span><span class="cx">     void setStartTime(double startTime) { m_platformUtterance-&gt;setStartTime(startTime); }
</span><span class="cx">     
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(start);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(end);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(pause);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(resume);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mark);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(boundary);
-
</del><span class="cx">     using RefCounted&lt;SpeechSynthesisUtterance&gt;::ref;
</span><span class="cx">     using RefCounted&lt;SpeechSynthesisUtterance&gt;::deref;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAudioContexth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AudioContext.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AudioContext.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/webaudio/AudioContext.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -227,8 +227,6 @@
</span><span class="cx">     virtual EventTargetInterface eventTargetInterface() const override final { return AudioContextEventTargetInterfaceType; }
</span><span class="cx">     virtual ScriptExecutionContext* scriptExecutionContext() const override final;
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(complete);
-
</del><span class="cx">     // Reconcile ref/deref which are defined both in ThreadSafeRefCounted and EventTarget.
</span><span class="cx">     using ThreadSafeRefCounted&lt;AudioContext&gt;::ref;
</span><span class="cx">     using ThreadSafeRefCounted&lt;AudioContext&gt;::deref;
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAudioScheduledSourceNodecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.cpp (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.cpp        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.cpp        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -196,11 +196,6 @@
</span><span class="cx"> }
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-void AudioScheduledSourceNode::setOnended(PassRefPtr&lt;EventListener&gt; listener)
-{
-    setAttributeEventListener(eventNames().endedEvent, listener);
-}
-
</del><span class="cx"> void AudioScheduledSourceNode::finish()
</span><span class="cx"> {
</span><span class="cx">     if (m_playbackState != FINISHED_STATE) {
</span><span class="lines">@@ -210,26 +205,13 @@
</span><span class="cx">         context()-&gt;decrementActiveSourceCount();
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if (m_hasEndedListener)
-        callOnMainThread(&amp;AudioScheduledSourceNode::notifyEndedDispatch, this);
</del><ins>+    if (m_hasEndedListener) {
+        callOnMainThread([this] {
+            dispatchEvent(Event::create(eventNames().endedEvent, false, false));
+        });
+    }
</ins><span class="cx"> }
</span><span class="cx"> 
</span><del>-void AudioScheduledSourceNode::notifyEndedDispatch(void* userData)
-{
-    static_cast&lt;AudioScheduledSourceNode*&gt;(userData)-&gt;notifyEnded();
-}
-
-void AudioScheduledSourceNode::notifyEnded()
-{
-    EventListener* listener = onended();
-    if (!listener)
-        return;
-
-    RefPtr&lt;Event&gt; event = Event::create(eventNames().endedEvent, FALSE, FALSE);
-    event-&gt;setTarget(this);
-    listener-&gt;handleEvent(context()-&gt;scriptExecutionContext(), event.get());
-}
-
</del><span class="cx"> bool AudioScheduledSourceNode::addEventListener(const AtomicString&amp; eventType, PassRefPtr&lt;EventListener&gt; listener, bool useCapture)
</span><span class="cx"> {
</span><span class="cx">     bool success = AudioNode::addEventListener(eventType, listener, useCapture);
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAudioScheduledSourceNodeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/webaudio/AudioScheduledSourceNode.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -72,9 +72,6 @@
</span><span class="cx">     bool isPlayingOrScheduled() const { return m_playbackState == PLAYING_STATE || m_playbackState == SCHEDULED_STATE; }
</span><span class="cx">     bool hasFinished() const { return m_playbackState == FINISHED_STATE; }
</span><span class="cx"> 
</span><del>-    EventListener* onended() { return getAttributeEventListener(eventNames().endedEvent); }
-    void setOnended(PassRefPtr&lt;EventListener&gt; listener);
-
</del><span class="cx"> protected:
</span><span class="cx">     // Get frame information for the current time quantum.
</span><span class="cx">     // We handle the transition into PLAYING_STATE and FINISHED_STATE here,
</span><span class="lines">@@ -91,9 +88,6 @@
</span><span class="cx">     // Called when we have no more sound to play or the noteOff() time has been reached.
</span><span class="cx">     virtual void finish();
</span><span class="cx"> 
</span><del>-    static void notifyEndedDispatch(void*);
-    void notifyEnded();
-
</del><span class="cx">     PlaybackState m_playbackState;
</span><span class="cx"> 
</span><span class="cx">     // m_startTime is the time to start playing based on the context's timeline (0 or a time less than the context's current time means &quot;now&quot;).
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioScriptProcessorNodecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/ScriptProcessorNode.cpp (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/ScriptProcessorNode.cpp        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/webaudio/ScriptProcessorNode.cpp        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -217,11 +217,6 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void ScriptProcessorNode::setOnaudioprocess(PassRefPtr&lt;EventListener&gt; listener)
-{
-    setAttributeEventListener(eventNames().audioprocessEvent, listener);
-}
-
</del><span class="cx"> void ScriptProcessorNode::fireProcessEventDispatch(void* userData)
</span><span class="cx"> {
</span><span class="cx">     ScriptProcessorNode* jsAudioNode = static_cast&lt;ScriptProcessorNode*&gt;(userData);
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioScriptProcessorNodeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/ScriptProcessorNode.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/ScriptProcessorNode.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/webaudio/ScriptProcessorNode.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -65,9 +65,6 @@
</span><span class="cx"> 
</span><span class="cx">     size_t bufferSize() const { return m_bufferSize; }
</span><span class="cx"> 
</span><del>-    EventListener* onaudioprocess() { return getAttributeEventListener(eventNames().audioprocessEvent); }
-    void setOnaudioprocess(PassRefPtr&lt;EventListener&gt;);
-    
</del><span class="cx"> private:
</span><span class="cx">     virtual double tailTime() const override;
</span><span class="cx">     virtual double latencyTime() const override;
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebsocketsWebSocketh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/websockets/WebSocket.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/websockets/WebSocket.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/Modules/websockets/WebSocket.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -89,11 +89,6 @@
</span><span class="cx">     String binaryType() const;
</span><span class="cx">     void setBinaryType(const String&amp;);
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(open);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(close);
-
</del><span class="cx">     // EventTarget functions.
</span><span class="cx">     virtual EventTargetInterface eventTargetInterface() const override;
</span><span class="cx">     virtual ScriptExecutionContext* scriptExecutionContext() const override;
</span></span></pre></div>
<a id="trunkSourceWebCorecssFontLoaderh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/FontLoader.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/FontLoader.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/css/FontLoader.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -57,12 +57,6 @@
</span><span class="cx">     }
</span><span class="cx">     virtual ~FontLoader();
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(loading);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(loadingdone);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(loadstart);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(load);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
-
</del><span class="cx">     bool checkFont(const String&amp;, const String&amp;);
</span><span class="cx">     void loadFont(const Dictionary&amp;);
</span><span class="cx">     void loadFontDone(const LoadFontCallback&amp;);
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/dom/Document.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -324,82 +324,6 @@
</span><span class="cx"> 
</span><span class="cx">     // DOM methods &amp; attributes for Document
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(abort);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(change);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(click);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(contextmenu);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(dblclick);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(dragenter);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(dragover);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(dragleave);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(drop);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(dragstart);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(drag);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(dragend);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(input);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(invalid);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(keydown);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(keypress);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(keyup);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mousedown);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseenter);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseleave);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mousemove);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseout);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseover);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseup);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mousewheel);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(scroll);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(select);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(submit);
-#if ENABLE(WILL_REVEAL_EDGE_EVENTS)
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitwillrevealbottom);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitwillrevealleft);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitwillrevealright);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitwillrevealtop);
-#endif
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel);
-
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(blur);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(focus);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(load);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(readystatechange);
-
-    // WebKit extensions
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecut);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(cut);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecopy);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(copy);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(beforepaste);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(paste);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(reset);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(search);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(selectionchange);
-#if ENABLE(TOUCH_EVENTS)
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(touchstart);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(touchmove);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel);
-#endif
-#if ENABLE(IOS_GESTURE_EVENTS)
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(gesturestart);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(gesturechange);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(gestureend);
-#endif
-#if ENABLE(FULLSCREEN_API)
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror);
-#endif
-#if ENABLE(POINTER_LOCK)
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(pointerlockchange);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(pointerlockerror);
-#endif
-#if ENABLE(CSP_NEXT)
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(securitypolicyviolation);
-#endif
-
</del><span class="cx">     void setViewportArguments(const ViewportArguments&amp; viewportArguments) { m_viewportArguments = viewportArguments; }
</span><span class="cx">     ViewportArguments viewportArguments() const { return m_viewportArguments; }
</span><span class="cx"> #ifndef NDEBUG
</span></span></pre></div>
<a id="trunkSourceWebCoredomElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Element.cpp (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Element.cpp        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/dom/Element.cpp        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -297,11 +297,6 @@
</span><span class="cx">     EventDispatcher::dispatchSimulatedClick(this, underlyingEvent, eventOptions, visualOptions);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-DEFINE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(Element, blur);
-DEFINE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(Element, error);
-DEFINE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(Element, focus);
-DEFINE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(Element, load);
-
</del><span class="cx"> RefPtr&lt;Node&gt; Element::cloneNodeInternal(Document&amp; targetDocument, CloningOperation type)
</span><span class="cx"> {
</span><span class="cx">     switch (type) {
</span></span></pre></div>
<a id="trunkSourceWebCoredomElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Element.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Element.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/dom/Element.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -62,75 +62,6 @@
</span><span class="cx">     static Ref&lt;Element&gt; create(const QualifiedName&amp;, Document&amp;);
</span><span class="cx">     virtual ~Element();
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(abort);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(change);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(click);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(contextmenu);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(dblclick);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(dragenter);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(dragover);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(dragleave);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(drop);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(dragstart);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(drag);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(dragend);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(input);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(invalid);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(keydown);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(keypress);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(keyup);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mousedown);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseenter);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseleave);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mousemove);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseout);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseover);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseup);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(mousewheel);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(scroll);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(select);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(submit);
-#if ENABLE(WILL_REVEAL_EDGE_EVENTS)
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitwillrevealbottom);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitwillrevealleft);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitwillrevealright);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitwillrevealtop);
-#endif
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel);
-
-    // These four attribute event handler attributes are overridden by HTMLBodyElement
-    // and HTMLFrameSetElement to forward to the DOMWindow.
-    DECLARE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(blur);
-    DECLARE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(error);
-    DECLARE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(focus);
-    DECLARE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(load);
-
-    // WebKit extensions
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecut);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(cut);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(beforecopy);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(copy);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(beforepaste);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(paste);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(reset);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(search);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(selectstart);
-#if ENABLE(TOUCH_EVENTS)
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(touchstart);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(touchmove);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel);
-#endif
-#if ENABLE(IOS_GESTURE_EVENTS)
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(gesturestart);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(gesturechange);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(gestureend);
-#endif
-#if ENABLE(FULLSCREEN_API)
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenchange);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitfullscreenerror);
-#endif
-
</del><span class="cx">     WEBCORE_EXPORT bool hasAttribute(const QualifiedName&amp;) const;
</span><span class="cx">     WEBCORE_EXPORT const AtomicString&amp; getAttribute(const QualifiedName&amp;) const;
</span><span class="cx">     WEBCORE_EXPORT void setAttribute(const QualifiedName&amp;, const AtomicString&amp; value);
</span></span></pre></div>
<a id="trunkSourceWebCoredomEventTargeth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/EventTarget.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/EventTarget.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/dom/EventTarget.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -167,36 +167,6 @@
</span><span class="cx">         EventTargetData m_eventTargetData;
</span><span class="cx">     };
</span><span class="cx"> 
</span><del>-    // FIXME: These macros should be split into separate DEFINE and DECLARE
-    // macros to avoid causing so many header includes.
-    #define DEFINE_ATTRIBUTE_EVENT_LISTENER(attribute) \
-        EventListener* on##attribute() { return getAttributeEventListener(eventNames().attribute##Event); } \
-        void setOn##attribute(PassRefPtr&lt;EventListener&gt; listener) { setAttributeEventListener(eventNames().attribute##Event, listener); } \
-
-    #define DECLARE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(attribute) \
-        virtual EventListener* on##attribute(); \
-        virtual void setOn##attribute(PassRefPtr&lt;EventListener&gt; listener); \
-
-    #define DEFINE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(type, attribute) \
-        EventListener* type::on##attribute() { return getAttributeEventListener(eventNames().attribute##Event); } \
-        void type::setOn##attribute(PassRefPtr&lt;EventListener&gt; listener) { setAttributeEventListener(eventNames().attribute##Event, listener); } \
-
-    #define DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(attribute) \
-        EventListener* on##attribute() { return document().getWindowAttributeEventListener(eventNames().attribute##Event); } \
-        void setOn##attribute(PassRefPtr&lt;EventListener&gt; listener) { document().setWindowAttributeEventListener(eventNames().attribute##Event, listener); } \
-
-    #define DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(attribute, eventName) \
-        EventListener* on##attribute() { return getAttributeEventListener(eventNames().eventName##Event); } \
-        void setOn##attribute(PassRefPtr&lt;EventListener&gt; listener) { setAttributeEventListener(eventNames().eventName##Event, listener); } \
-
-    #define DECLARE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(recipient, attribute) \
-        EventListener* on##attribute(); \
-        void setOn##attribute(PassRefPtr&lt;EventListener&gt; listener);
-
-    #define DEFINE_FORWARDING_ATTRIBUTE_EVENT_LISTENER(type, recipient, attribute) \
-        EventListener* type::on##attribute() { return recipient ? recipient-&gt;getAttributeEventListener(eventNames().attribute##Event) : 0; } \
-        void type::setOn##attribute(PassRefPtr&lt;EventListener&gt; listener) { if (recipient) recipient-&gt;setAttributeEventListener(eventNames().attribute##Event, listener); }
-
</del><span class="cx">     inline void EventTarget::visitJSEventListeners(JSC::SlotVisitor&amp; visitor)
</span><span class="cx">     {
</span><span class="cx">         EventListenerIterator iterator(this);
</span></span></pre></div>
<a id="trunkSourceWebCoredomMessagePorth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/MessagePort.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/MessagePort.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/dom/MessagePort.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -82,12 +82,6 @@
</span><span class="cx"> 
</span><span class="cx">         bool hasPendingActivity();
</span><span class="cx"> 
</span><del>-        void setOnmessage(PassRefPtr&lt;EventListener&gt; listener)
-        {
-            setAttributeEventListener(eventNames().messageEvent, listener);
-        }
-        EventListener* onmessage() { return getAttributeEventListener(eventNames().messageEvent); }
-
</del><span class="cx">         // Returns null if there is no entangled port, or if the entangled port is run by a different thread.
</span><span class="cx">         // This is used solely to enable a GC optimization. Some platforms may not be able to determine ownership
</span><span class="cx">         // of the remote port (since it may live cross-process) - those platforms may always return null.
</span></span></pre></div>
<a id="trunkSourceWebCorefileapiFileReaderh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/fileapi/FileReader.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/fileapi/FileReader.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/fileapi/FileReader.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -92,13 +92,6 @@
</span><span class="cx">     using RefCounted&lt;FileReader&gt;::ref;
</span><span class="cx">     using RefCounted&lt;FileReader&gt;::deref;
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(loadstart);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(progress);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(load);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(abort);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(loadend);
-
</del><span class="cx"> private:
</span><span class="cx">     explicit FileReader(ScriptExecutionContext&amp;);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLBodyElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLBodyElement.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLBodyElement.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/html/HTMLBodyElement.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -36,26 +36,6 @@
</span><span class="cx">     static Ref&lt;HTMLBodyElement&gt; create(const QualifiedName&amp;, Document&amp;);
</span><span class="cx">     virtual ~HTMLBodyElement();
</span><span class="cx"> 
</span><del>-    // Declared virtual in Element
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(blur);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(error);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(focus);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(load);
-
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(beforeunload);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(hashchange);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(message);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(offline);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(online);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(popstate);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(resize);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(storage);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(unload);
-
-#if ENABLE(ORIENTATION_EVENTS)
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(orientationchange);
-#endif
-
</del><span class="cx"> private:
</span><span class="cx">     HTMLBodyElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFormElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFormElement.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFormElement.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/html/HTMLFormElement.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -125,9 +125,6 @@
</span><span class="cx"> 
</span><span class="cx">     void requestAutocomplete();
</span><span class="cx">     void finishRequestAutocomplete(AutocompleteResult);
</span><del>-
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(autocomplete);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(autocompleteerror);
</del><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx">     CheckedRadioButtons&amp; checkedRadioButtons() { return m_checkedRadioButtons; }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFrameSetElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFrameSetElement.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFrameSetElement.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/html/HTMLFrameSetElement.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -47,25 +47,6 @@
</span><span class="cx"> 
</span><span class="cx">     static HTMLFrameSetElement* findContaining(Element* descendant);
</span><span class="cx"> 
</span><del>-    // Declared virtual in Element
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(blur);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(error);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(focus);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(load);
-
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(beforeunload);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(hashchange);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(message);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(offline);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(online);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(popstate);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(resize);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(storage);
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(unload);
-#if ENABLE(ORIENTATION_EVENTS)
-    DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(orientationchange);
-#endif
-
</del><span class="cx"> private:
</span><span class="cx">     HTMLFrameSetElement(const QualifiedName&amp;, Document&amp;);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLInputElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLInputElement.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLInputElement.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/html/HTMLInputElement.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -66,8 +66,6 @@
</span><span class="cx">     static Ref&lt;HTMLInputElement&gt; create(const QualifiedName&amp;, Document&amp;, HTMLFormElement*, bool createdByParser);
</span><span class="cx">     virtual ~HTMLInputElement();
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitspeechchange);
-
</del><span class="cx">     virtual HTMLInputElement* toInputElement() override final { return this; }
</span><span class="cx"> 
</span><span class="cx">     WEBCORE_EXPORT virtual bool shouldAutocomplete() const override final;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMediaElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMediaElement.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMediaElement.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/html/HTMLMediaElement.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -232,14 +232,7 @@
</span><span class="cx">     void webkitAddKey(const String&amp; keySystem, PassRefPtr&lt;Uint8Array&gt; key, PassRefPtr&lt;Uint8Array&gt; initData, const String&amp; sessionId, ExceptionCode&amp;);
</span><span class="cx">     void webkitAddKey(const String&amp; keySystem, PassRefPtr&lt;Uint8Array&gt; key, ExceptionCode&amp;);
</span><span class="cx">     void webkitCancelKeyRequest(const String&amp; keySystem, const String&amp; sessionId, ExceptionCode&amp;);
</span><del>-
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitkeyadded);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitkeyerror);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitkeymessage);
</del><span class="cx"> #endif
</span><del>-#if ENABLE(ENCRYPTED_MEDIA) || ENABLE(ENCRYPTED_MEDIA_V2)
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitneedkey);
-#endif
</del><span class="cx"> 
</span><span class="cx"> #if ENABLE(ENCRYPTED_MEDIA_V2)
</span><span class="cx">     MediaKeys* keys() const { return m_mediaKeys.get(); }
</span><span class="lines">@@ -268,21 +261,6 @@
</span><span class="cx"> 
</span><span class="cx">     double percentLoaded() const;
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(emptied);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(loadedmetadata);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(loadeddata);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(canplay);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(canplaythrough);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(playing);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(ended);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(waiting);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(durationchange);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(timeupdate);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(play);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(pause);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(ratechange);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(volumechange);
-
</del><span class="cx"> #if ENABLE(VIDEO_TRACK)
</span><span class="cx">     PassRefPtr&lt;TextTrack&gt; addTextTrack(const String&amp; kind, const String&amp; label, const String&amp; language, ExceptionCode&amp;);
</span><span class="cx">     PassRefPtr&lt;TextTrack&gt; addTextTrack(const String&amp; kind, const String&amp; label, ExceptionCode&amp; ec) { return addTextTrack(kind, label, emptyString(), ec); }
</span><span class="lines">@@ -380,9 +358,6 @@
</span><span class="cx">     virtual bool addEventListener(const AtomicString&amp; eventType, PassRefPtr&lt;EventListener&gt;, bool useCapture) override;
</span><span class="cx">     virtual bool removeEventListener(const AtomicString&amp; eventType, EventListener*, bool useCapture) override;
</span><span class="cx">     virtual void wirelessRoutesAvailableDidChange() override;
</span><del>-
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitcurrentplaybacktargetiswirelesschanged);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitplaybacktargetavailabilitychanged);
</del><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx">     // EventTarget function.
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLVideoElementh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLVideoElement.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLVideoElement.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/html/HTMLVideoElement.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -83,8 +83,6 @@
</span><span class="cx">     void webkitSetPresentationMode(const String&amp;);
</span><span class="cx">     String webkitPresentationMode() const;
</span><span class="cx">     virtual void fullscreenModeChanged(VideoFullscreenMode) override;
</span><del>-
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitpresentationmodechanged);
</del><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> private:
</span></span></pre></div>
<a id="trunkSourceWebCorehtmltrackTextTrackh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/track/TextTrack.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/track/TextTrack.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/html/track/TextTrack.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -123,8 +123,6 @@
</span><span class="cx">     void cueWillChange(TextTrackCue*);
</span><span class="cx">     void cueDidChange(TextTrackCue*);
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(cuechange);
-
</del><span class="cx">     enum TextTrackType { TrackElement, AddTrack, InBand };
</span><span class="cx">     TextTrackType trackType() const { return m_trackType; }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmltrackTextTrackCueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/track/TextTrackCue.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/track/TextTrackCue.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/html/track/TextTrackCue.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -111,9 +111,6 @@
</span><span class="cx">     void willChange();
</span><span class="cx">     virtual void didChange();
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(enter);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(exit);
-
</del><span class="cx">     using RefCounted&lt;TextTrackCue&gt;::ref;
</span><span class="cx">     using RefCounted&lt;TextTrackCue&gt;::deref;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmltrackTrackListBaseh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/track/TrackListBase.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/track/TrackListBase.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/html/track/TrackListBase.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -56,10 +56,6 @@
</span><span class="cx">     using RefCounted&lt;TrackListBase&gt;::deref;
</span><span class="cx">     virtual ScriptExecutionContext* scriptExecutionContext() const override final { return m_context; }
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(addtrack);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(change);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(removetrack);
-
</del><span class="cx">     void clearElement() { m_element = 0; }
</span><span class="cx">     Element* element() const;
</span><span class="cx">     HTMLMediaElement* mediaElement() const { return m_element; }
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderappcacheDOMApplicationCacheh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/appcache/DOMApplicationCache.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/appcache/DOMApplicationCache.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/loader/appcache/DOMApplicationCache.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -58,17 +58,6 @@
</span><span class="cx">     using RefCounted&lt;DOMApplicationCache&gt;::ref;
</span><span class="cx">     using RefCounted&lt;DOMApplicationCache&gt;::deref;
</span><span class="cx"> 
</span><del>-    // Explicitly named attribute event listener helpers
-
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(checking);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(noupdate);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(downloading);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(progress);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(updateready);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(cached);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(obsolete);
-
</del><span class="cx">     virtual EventTargetInterface eventTargetInterface() const override { return DOMApplicationCacheEventTargetInterfaceType; }
</span><span class="cx">     virtual ScriptExecutionContext* scriptExecutionContext() const override;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorepageDOMWindowh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/DOMWindow.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/DOMWindow.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/page/DOMWindow.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -282,90 +282,6 @@
</span><span class="cx"> 
</span><span class="cx">         void dispatchLoadEvent();
</span><span class="cx"> 
</span><del>-        DEFINE_ATTRIBUTE_EVENT_LISTENER(abort);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(beforeunload);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(blur);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(canplay);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(canplaythrough);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(change);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(click);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(contextmenu);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(dblclick);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(drag);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(dragend);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(dragenter);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(dragleave);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(dragover);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(dragstart);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(drop);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(durationchange);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(emptied);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(ended);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(focus);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(hashchange);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(input);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(invalid);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(keydown);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(keypress);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(keyup);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(load);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(loadeddata);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(loadedmetadata);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(loadstart);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(mousedown);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseenter);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseleave);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(mousemove);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseout);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseover);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(mouseup);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(mousewheel);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(offline);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(online);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(pagehide);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(pageshow);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(pause);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(play);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(playing);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(popstate);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(progress);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(ratechange);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(reset);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(resize);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(scroll);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(search);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(seeked);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(seeking);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(select);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(stalled);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(storage);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(submit);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(suspend);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(timeupdate);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(unload);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(volumechange);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(waiting);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitbeginfullscreen);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitendfullscreen);
-#if ENABLE(WILL_REVEAL_EDGE_EVENTS)
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitwillrevealbottom);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitwillrevealleft);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitwillrevealright);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitwillrevealtop);
-#endif
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(wheel);
-
-        DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationstart, webkitAnimationStart);
-        DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationiteration, webkitAnimationIteration);
-        DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkitanimationend, webkitAnimationEnd);
-        DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(animationstart, animationstart);
-        DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(animationiteration, animationiteration);
-        DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(animationend, animationend);
-        DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(webkittransitionend, webkitTransitionEnd);
-        DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(transitionend, transitionend);
-
</del><span class="cx">         void captureEvents();
</span><span class="cx">         void releaseEvents();
</span><span class="cx"> 
</span><span class="lines">@@ -374,15 +290,6 @@
</span><span class="cx">         using RefCounted&lt;DOMWindow&gt;::ref;
</span><span class="cx">         using RefCounted&lt;DOMWindow&gt;::deref;
</span><span class="cx"> 
</span><del>-#if ENABLE(DEVICE_ORIENTATION)
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(devicemotion);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(deviceorientation);
-#endif
-
-#if ENABLE(PROXIMITY_EVENTS)
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitdeviceproximity);
-#endif
-
</del><span class="cx">         // HTML 5 key/value storage
</span><span class="cx">         Storage* sessionStorage(ExceptionCode&amp;) const;
</span><span class="cx">         Storage* localStorage(ExceptionCode&amp;) const;
</span><span class="lines">@@ -397,23 +304,8 @@
</span><span class="cx">         //  0 is straight up; -90 is when the device is rotated 90 clockwise;
</span><span class="cx">         //  90 is when rotated counter clockwise.
</span><span class="cx">         int orientation() const;
</span><del>-
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(orientationchange);
</del><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if ENABLE(TOUCH_EVENTS)
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(touchstart);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(touchmove);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(touchend);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(touchcancel);
-#endif
-
-#if ENABLE(IOS_GESTURE_EVENTS)
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(gesturestart);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(gesturechange);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(gestureend);
-#endif
-
</del><span class="cx"> #if ENABLE(WEB_TIMING)
</span><span class="cx">         Performance* performance() const;
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorepageEventSourceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/EventSource.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/EventSource.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/page/EventSource.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -66,10 +66,6 @@
</span><span class="cx"> 
</span><span class="cx">     State readyState() const;
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(open);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
-
</del><span class="cx">     void close();
</span><span class="cx"> 
</span><span class="cx">     using RefCounted&lt;EventSource&gt;::ref;
</span></span></pre></div>
<a id="trunkSourceWebCorepagePerformanceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Performance.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Performance.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/page/Performance.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -74,8 +74,6 @@
</span><span class="cx">     void webkitClearResourceTimings();
</span><span class="cx">     void webkitSetResourceTimingBufferSize(unsigned int);
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitresourcetimingbufferfull);
-
</del><span class="cx">     void addResourceTiming(const String&amp; initiatorName, Document*, const ResourceRequest&amp;, const ResourceResponse&amp;, double initiationTime, double finishTime);
</span><span class="cx"> #endif
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreworkersAbstractWorkerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/workers/AbstractWorker.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/workers/AbstractWorker.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/workers/AbstractWorker.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -45,8 +45,6 @@
</span><span class="cx"> 
</span><span class="cx">     class AbstractWorker : public RefCounted&lt;AbstractWorker&gt;, public EventTargetWithInlineData {
</span><span class="cx">     public:
</span><del>-        DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
-
</del><span class="cx">         using RefCounted&lt;AbstractWorker&gt;::ref;
</span><span class="cx">         using RefCounted&lt;AbstractWorker&gt;::deref;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreworkersDedicatedWorkerGlobalScopeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/workers/DedicatedWorkerGlobalScope.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/workers/DedicatedWorkerGlobalScope.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/workers/DedicatedWorkerGlobalScope.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -57,8 +57,6 @@
</span><span class="cx">         // Needed for Objective-C bindings (see bug 28774).
</span><span class="cx">         void postMessage(PassRefPtr&lt;SerializedScriptValue&gt;, MessagePort*, ExceptionCode&amp;);
</span><span class="cx"> 
</span><del>-        DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
-
</del><span class="cx">         DedicatedWorkerThread&amp; thread();
</span><span class="cx"> 
</span><span class="cx">     private:
</span></span></pre></div>
<a id="trunkSourceWebCoreworkersWorkerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/workers/Worker.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/workers/Worker.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/workers/Worker.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -58,8 +58,6 @@
</span><span class="cx">         void postMessage(PassRefPtr&lt;SerializedScriptValue&gt; message, MessagePort*, ExceptionCode&amp;);
</span><span class="cx"> 
</span><span class="cx">         void terminate();
</span><del>-    
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(message);
</del><span class="cx"> 
</span><span class="cx">         // EventTarget API.
</span><span class="cx">         virtual ScriptExecutionContext* scriptExecutionContext() const override final { return ActiveDOMObject::scriptExecutionContext(); }
</span></span></pre></div>
<a id="trunkSourceWebCoreworkersWorkerGlobalScopeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/workers/WorkerGlobalScope.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/workers/WorkerGlobalScope.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/workers/WorkerGlobalScope.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -82,10 +82,6 @@
</span><span class="cx">         WorkerLocation* location() const;
</span><span class="cx">         void close();
</span><span class="cx"> 
</span><del>-        DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(offline);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(online);
-
</del><span class="cx">         // WorkerUtils
</span><span class="cx">         virtual void importScripts(const Vector&lt;String&gt;&amp; urls, ExceptionCode&amp;);
</span><span class="cx">         WorkerNavigator* navigator() const;
</span></span></pre></div>
<a id="trunkSourceWebCorexmlXMLHttpRequesth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/xml/XMLHttpRequest.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/xml/XMLHttpRequest.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/xml/XMLHttpRequest.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -144,17 +144,6 @@
</span><span class="cx"> 
</span><span class="cx">     const ResourceResponse&amp; resourceResponse() const { return m_response; }
</span><span class="cx"> 
</span><del>-    DEFINE_ATTRIBUTE_EVENT_LISTENER(readystatechange);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(abort);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(load);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(loadend);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(loadstart);
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(progress);
-#if ENABLE(XHR_TIMEOUT)
-    DEFINE_ATTRIBUTE_EVENT_LISTENER(timeout);
-#endif
-
</del><span class="cx">     using RefCounted&lt;XMLHttpRequest&gt;::ref;
</span><span class="cx">     using RefCounted&lt;XMLHttpRequest&gt;::deref;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorexmlXMLHttpRequestUploadh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/xml/XMLHttpRequestUpload.h (181168 => 181169)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/xml/XMLHttpRequestUpload.h        2015-03-06 18:44:33 UTC (rev 181168)
+++ trunk/Source/WebCore/xml/XMLHttpRequestUpload.h        2015-03-06 18:45:48 UTC (rev 181169)
</span><span class="lines">@@ -48,13 +48,6 @@
</span><span class="cx">         virtual EventTargetInterface eventTargetInterface() const override { return XMLHttpRequestUploadEventTargetInterfaceType; }
</span><span class="cx">         virtual ScriptExecutionContext* scriptExecutionContext() const override { return m_xmlHttpRequest-&gt;scriptExecutionContext(); }
</span><span class="cx"> 
</span><del>-        DEFINE_ATTRIBUTE_EVENT_LISTENER(abort);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(error);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(load);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(loadend);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(loadstart);
-        DEFINE_ATTRIBUTE_EVENT_LISTENER(progress);
-
</del><span class="cx">         void dispatchThrottledProgressEvent(bool lengthComputable, unsigned long long loaded, unsigned long long total);
</span><span class="cx">         void dispatchProgressEvent(const AtomicString &amp;type);
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>