<!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>[202968] 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/202968">202968</a></dd>
<dt>Author</dt> <dd>gyuyoung.kim@webkit.org</dd>
<dt>Date</dt> <dd>2016-07-07 23:32:41 -0700 (Thu, 07 Jul 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>Clean up PassRefPtr in Modules/webaudio
https://bugs.webkit.org/show_bug.cgi?id=159540
Reviewed by Alex Christensen.
Purge PassRefPtr in webaudio directory.
No new tests, no behavior changes.
* Modules/webaudio/AsyncAudioDecoder.h:
* Modules/webaudio/AudioBasicProcessorNode.h:
* Modules/webaudio/AudioBuffer.h:
* Modules/webaudio/AudioBufferSourceNode.h:
* Modules/webaudio/AudioListener.h:
* Modules/webaudio/AudioParam.h:
* Modules/webaudio/AudioParamTimeline.h:
(WebCore::AudioParamTimeline::ParamEvent::ParamEvent):
* Modules/webaudio/AudioProcessingEvent.cpp:
(WebCore::AudioProcessingEvent::AudioProcessingEvent):
* Modules/webaudio/AudioProcessingEvent.h:
(WebCore::AudioProcessingEvent::create):
* Modules/webaudio/ChannelMergerNode.h:
* Modules/webaudio/ChannelSplitterNode.h:
* Modules/webaudio/GainNode.h:
* Modules/webaudio/MediaElementAudioSourceNode.h:
* Modules/webaudio/MediaStreamAudioDestinationNode.h:
* Modules/webaudio/MediaStreamAudioSource.cpp:
(WebCore::MediaStreamAudioSource::addAudioConsumer):
* Modules/webaudio/MediaStreamAudioSource.h:
* Modules/webaudio/OfflineAudioCompletionEvent.cpp:
(WebCore::OfflineAudioCompletionEvent::create):
(WebCore::OfflineAudioCompletionEvent::OfflineAudioCompletionEvent):
* Modules/webaudio/OfflineAudioCompletionEvent.h:
* Modules/webaudio/OfflineAudioDestinationNode.h:
* Modules/webaudio/OscillatorNode.h:
* Modules/webaudio/PeriodicWave.h:
* Modules/webaudio/ScriptProcessorNode.h:</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioAsyncAudioDecoderh">trunk/Source/WebCore/Modules/webaudio/AsyncAudioDecoder.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioAudioBasicProcessorNodeh">trunk/Source/WebCore/Modules/webaudio/AudioBasicProcessorNode.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioAudioBufferh">trunk/Source/WebCore/Modules/webaudio/AudioBuffer.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioAudioBufferSourceNodeh">trunk/Source/WebCore/Modules/webaudio/AudioBufferSourceNode.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioAudioListenerh">trunk/Source/WebCore/Modules/webaudio/AudioListener.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioAudioParamh">trunk/Source/WebCore/Modules/webaudio/AudioParam.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioAudioParamTimelineh">trunk/Source/WebCore/Modules/webaudio/AudioParamTimeline.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="#trunkSourceWebCoreModuleswebaudioChannelMergerNodeh">trunk/Source/WebCore/Modules/webaudio/ChannelMergerNode.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioChannelSplitterNodeh">trunk/Source/WebCore/Modules/webaudio/ChannelSplitterNode.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioGainNodeh">trunk/Source/WebCore/Modules/webaudio/GainNode.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioMediaElementAudioSourceNodeh">trunk/Source/WebCore/Modules/webaudio/MediaElementAudioSourceNode.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioMediaStreamAudioDestinationNodeh">trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioDestinationNode.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioMediaStreamAudioSourcecpp">trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioSource.cpp</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioMediaStreamAudioSourceh">trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioSource.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="#trunkSourceWebCoreModuleswebaudioOfflineAudioDestinationNodeh">trunk/Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioOscillatorNodeh">trunk/Source/WebCore/Modules/webaudio/OscillatorNode.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioPeriodicWaveh">trunk/Source/WebCore/Modules/webaudio/PeriodicWave.h</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioScriptProcessorNodeh">trunk/Source/WebCore/Modules/webaudio/ScriptProcessorNode.h</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/ChangeLog        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -1,3 +1,43 @@
</span><ins>+2016-07-07 Gyuyoung Kim <gyuyoung.kim@webkit.org>
+
+ Clean up PassRefPtr in Modules/webaudio
+ https://bugs.webkit.org/show_bug.cgi?id=159540
+
+ Reviewed by Alex Christensen.
+
+ Purge PassRefPtr in webaudio directory.
+
+ No new tests, no behavior changes.
+
+ * Modules/webaudio/AsyncAudioDecoder.h:
+ * Modules/webaudio/AudioBasicProcessorNode.h:
+ * Modules/webaudio/AudioBuffer.h:
+ * Modules/webaudio/AudioBufferSourceNode.h:
+ * Modules/webaudio/AudioListener.h:
+ * Modules/webaudio/AudioParam.h:
+ * Modules/webaudio/AudioParamTimeline.h:
+ (WebCore::AudioParamTimeline::ParamEvent::ParamEvent):
+ * Modules/webaudio/AudioProcessingEvent.cpp:
+ (WebCore::AudioProcessingEvent::AudioProcessingEvent):
+ * Modules/webaudio/AudioProcessingEvent.h:
+ (WebCore::AudioProcessingEvent::create):
+ * Modules/webaudio/ChannelMergerNode.h:
+ * Modules/webaudio/ChannelSplitterNode.h:
+ * Modules/webaudio/GainNode.h:
+ * Modules/webaudio/MediaElementAudioSourceNode.h:
+ * Modules/webaudio/MediaStreamAudioDestinationNode.h:
+ * Modules/webaudio/MediaStreamAudioSource.cpp:
+ (WebCore::MediaStreamAudioSource::addAudioConsumer):
+ * Modules/webaudio/MediaStreamAudioSource.h:
+ * Modules/webaudio/OfflineAudioCompletionEvent.cpp:
+ (WebCore::OfflineAudioCompletionEvent::create):
+ (WebCore::OfflineAudioCompletionEvent::OfflineAudioCompletionEvent):
+ * Modules/webaudio/OfflineAudioCompletionEvent.h:
+ * Modules/webaudio/OfflineAudioDestinationNode.h:
+ * Modules/webaudio/OscillatorNode.h:
+ * Modules/webaudio/PeriodicWave.h:
+ * Modules/webaudio/ScriptProcessorNode.h:
+
</ins><span class="cx"> 2016-07-07 Per Arne Vollan <pvollan@apple.com>
</span><span class="cx">
</span><span class="cx"> [Win] The test http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade.https.html is failing.
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAsyncAudioDecoderh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AsyncAudioDecoder.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AsyncAudioDecoder.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/AsyncAudioDecoder.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -28,7 +28,6 @@
</span><span class="cx"> #include <memory>
</span><span class="cx"> #include <wtf/Forward.h>
</span><span class="cx"> #include <wtf/MessageQueue.h>
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefPtr.h>
</span><span class="cx"> #include <wtf/Threading.h>
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAudioBasicProcessorNodeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AudioBasicProcessorNode.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AudioBasicProcessorNode.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/AudioBasicProcessorNode.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx">
</span><span class="cx"> #include "AudioNode.h"
</span><span class="cx"> #include <memory>
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefCounted.h>
</span><span class="cx"> #include <wtf/Threading.h>
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAudioBufferh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AudioBuffer.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AudioBuffer.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/AudioBuffer.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -30,7 +30,6 @@
</span><span class="cx"> #define AudioBuffer_h
</span><span class="cx">
</span><span class="cx"> #include <runtime/Float32Array.h>
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefCounted.h>
</span><span class="cx"> #include <wtf/RefPtr.h>
</span><span class="cx"> #include <wtf/Vector.h>
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAudioBufferSourceNodeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AudioBufferSourceNode.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AudioBufferSourceNode.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/AudioBufferSourceNode.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -33,7 +33,6 @@
</span><span class="cx"> #include "PannerNode.h"
</span><span class="cx"> #include <memory>
</span><span class="cx"> #include <wtf/Lock.h>
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefPtr.h>
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAudioListenerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AudioListener.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AudioListener.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/AudioListener.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -30,7 +30,7 @@
</span><span class="cx"> #define AudioListener_h
</span><span class="cx">
</span><span class="cx"> #include "FloatPoint3D.h"
</span><del>-#include <wtf/PassRefPtr.h>
</del><ins>+#include <wtf/Ref.h>
</ins><span class="cx"> #include <wtf/RefCounted.h>
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAudioParamh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AudioParam.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AudioParam.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/AudioParam.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -34,7 +34,6 @@
</span><span class="cx"> #include "AudioSummingJunction.h"
</span><span class="cx"> #include <runtime/Float32Array.h>
</span><span class="cx"> #include <sys/types.h>
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefCounted.h>
</span><span class="cx"> #include <wtf/text/WTFString.h>
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAudioParamTimelineh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AudioParamTimeline.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AudioParamTimeline.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/AudioParamTimeline.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -32,7 +32,6 @@
</span><span class="cx"> #include "AudioContext.h"
</span><span class="cx"> #include <runtime/Float32Array.h>
</span><span class="cx"> #include <wtf/Lock.h>
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefCounted.h>
</span><span class="cx"> #include <wtf/Vector.h>
</span><span class="cx">
</span><span class="lines">@@ -76,13 +75,13 @@
</span><span class="cx"> LastType
</span><span class="cx"> };
</span><span class="cx">
</span><del>- ParamEvent(Type type, float value, float time, float timeConstant, float duration, PassRefPtr<Float32Array> curve)
</del><ins>+ ParamEvent(Type type, float value, float time, float timeConstant, float duration, RefPtr<Float32Array>&& curve)
</ins><span class="cx"> : m_type(type)
</span><span class="cx"> , m_value(value)
</span><span class="cx"> , m_time(time)
</span><span class="cx"> , m_timeConstant(timeConstant)
</span><span class="cx"> , m_duration(duration)
</span><del>- , m_curve(curve)
</del><ins>+ , m_curve(WTFMove(curve))
</ins><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAudioProcessingEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.cpp (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.cpp        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.cpp        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -37,10 +37,10 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><del>-AudioProcessingEvent::AudioProcessingEvent(PassRefPtr<AudioBuffer> inputBuffer, PassRefPtr<AudioBuffer> outputBuffer, double playbackTime)
</del><ins>+AudioProcessingEvent::AudioProcessingEvent(RefPtr<AudioBuffer>&& inputBuffer, RefPtr<AudioBuffer>&& outputBuffer, double playbackTime)
</ins><span class="cx"> : Event(eventNames().audioprocessEvent, true, false)
</span><del>- , m_inputBuffer(inputBuffer)
- , m_outputBuffer(outputBuffer)
</del><ins>+ , m_inputBuffer(WTFMove(inputBuffer))
+ , m_outputBuffer(WTFMove(outputBuffer))
</ins><span class="cx"> , m_playbackTime(playbackTime)
</span><span class="cx"> {
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAudioProcessingEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/AudioProcessingEvent.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx">
</span><span class="cx"> #include "AudioBuffer.h"
</span><span class="cx"> #include "Event.h"
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefPtr.h>
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="lines">@@ -36,9 +35,9 @@
</span><span class="cx">
</span><span class="cx"> class AudioProcessingEvent : public Event {
</span><span class="cx"> public:
</span><del>- static Ref<AudioProcessingEvent> create(PassRefPtr<AudioBuffer> inputBuffer, PassRefPtr<AudioBuffer> outputBuffer, double playbackTime)
</del><ins>+ static Ref<AudioProcessingEvent> create(RefPtr<AudioBuffer>&& inputBuffer, RefPtr<AudioBuffer>&& outputBuffer, double playbackTime)
</ins><span class="cx"> {
</span><del>- return adoptRef(*new AudioProcessingEvent(inputBuffer, outputBuffer, playbackTime));
</del><ins>+ return adoptRef(*new AudioProcessingEvent(WTFMove(inputBuffer), WTFMove(outputBuffer), playbackTime));
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> static Ref<AudioProcessingEvent> createForBindings()
</span><span class="lines">@@ -56,7 +55,7 @@
</span><span class="cx">
</span><span class="cx"> private:
</span><span class="cx"> AudioProcessingEvent();
</span><del>- AudioProcessingEvent(PassRefPtr<AudioBuffer> inputBuffer, PassRefPtr<AudioBuffer> outputBuffer, double playbackTime);
</del><ins>+ AudioProcessingEvent(RefPtr<AudioBuffer>&& inputBuffer, RefPtr<AudioBuffer>&& outputBuffer, double playbackTime);
</ins><span class="cx">
</span><span class="cx"> RefPtr<AudioBuffer> m_inputBuffer;
</span><span class="cx"> RefPtr<AudioBuffer> m_outputBuffer;
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioChannelMergerNodeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/ChannelMergerNode.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/ChannelMergerNode.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/ChannelMergerNode.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -30,7 +30,6 @@
</span><span class="cx"> #define ChannelMergerNode_h
</span><span class="cx">
</span><span class="cx"> #include "AudioNode.h"
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioChannelSplitterNodeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/ChannelSplitterNode.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/ChannelSplitterNode.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/ChannelSplitterNode.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -26,7 +26,6 @@
</span><span class="cx"> #define ChannelSplitterNode_h
</span><span class="cx">
</span><span class="cx"> #include "AudioNode.h"
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioGainNodeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/GainNode.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/GainNode.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/GainNode.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx">
</span><span class="cx"> #include "AudioNode.h"
</span><span class="cx"> #include "AudioParam.h"
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/Threading.h>
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioMediaElementAudioSourceNodeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/MediaElementAudioSourceNode.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/MediaElementAudioSourceNode.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/MediaElementAudioSourceNode.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -33,7 +33,6 @@
</span><span class="cx"> #include "MultiChannelResampler.h"
</span><span class="cx"> #include <memory>
</span><span class="cx"> #include <wtf/Lock.h>
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioMediaStreamAudioDestinationNodeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioDestinationNode.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioDestinationNode.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioDestinationNode.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -30,7 +30,6 @@
</span><span class="cx"> #include "AudioBasicInspectorNode.h"
</span><span class="cx"> #include "AudioBus.h"
</span><span class="cx"> #include "MediaStream.h"
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioMediaStreamAudioSourcecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioSource.cpp (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioSource.cpp        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioSource.cpp        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -67,7 +67,7 @@
</span><span class="cx"> return nullptr;
</span><span class="cx"> }
</span><span class="cx">
</span><del>-void MediaStreamAudioSource::addAudioConsumer(PassRefPtr<AudioDestinationConsumer> consumer)
</del><ins>+void MediaStreamAudioSource::addAudioConsumer(AudioDestinationConsumer* consumer)
</ins><span class="cx"> {
</span><span class="cx"> LockHolder locker(m_audioConsumersLock);
</span><span class="cx"> m_audioConsumers.append(consumer);
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioMediaStreamAudioSourceh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioSource.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioSource.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/MediaStreamAudioSource.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -56,7 +56,7 @@
</span><span class="cx"> void setAudioFormat(size_t numberOfChannels, float sampleRate);
</span><span class="cx"> void consumeAudio(AudioBus*, size_t numberOfFrames);
</span><span class="cx">
</span><del>- void addAudioConsumer(PassRefPtr<AudioDestinationConsumer>);
</del><ins>+ void addAudioConsumer(AudioDestinationConsumer*);
</ins><span class="cx"> bool removeAudioConsumer(AudioDestinationConsumer*);
</span><span class="cx"> const Vector<RefPtr<AudioDestinationConsumer>>& audioConsumers() const { return m_audioConsumers; }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioOfflineAudioCompletionEventcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.cpp (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.cpp        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.cpp        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -33,14 +33,14 @@
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="cx">
</span><del>-Ref<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent::create(PassRefPtr<AudioBuffer> renderedBuffer)
</del><ins>+Ref<OfflineAudioCompletionEvent> OfflineAudioCompletionEvent::create(RefPtr<AudioBuffer>&& renderedBuffer)
</ins><span class="cx"> {
</span><del>- return adoptRef(*new OfflineAudioCompletionEvent(renderedBuffer));
</del><ins>+ return adoptRef(*new OfflineAudioCompletionEvent(WTFMove(renderedBuffer)));
</ins><span class="cx"> }
</span><span class="cx">
</span><del>-OfflineAudioCompletionEvent::OfflineAudioCompletionEvent(PassRefPtr<AudioBuffer> renderedBuffer)
</del><ins>+OfflineAudioCompletionEvent::OfflineAudioCompletionEvent(RefPtr<AudioBuffer>&& renderedBuffer)
</ins><span class="cx"> : Event(eventNames().completeEvent, true, false)
</span><del>- , m_renderedBuffer(renderedBuffer)
</del><ins>+ , m_renderedBuffer(WTFMove(renderedBuffer))
</ins><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioOfflineAudioCompletionEventh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/OfflineAudioCompletionEvent.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx">
</span><span class="cx"> #include "AudioBuffer.h"
</span><span class="cx"> #include "Event.h"
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefPtr.h>
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span><span class="lines">@@ -36,7 +35,7 @@
</span><span class="cx">
</span><span class="cx"> class OfflineAudioCompletionEvent : public Event {
</span><span class="cx"> public:
</span><del>- static Ref<OfflineAudioCompletionEvent> create(PassRefPtr<AudioBuffer> renderedBuffer);
</del><ins>+ static Ref<OfflineAudioCompletionEvent> create(RefPtr<AudioBuffer>&& renderedBuffer);
</ins><span class="cx">
</span><span class="cx"> virtual ~OfflineAudioCompletionEvent();
</span><span class="cx">
</span><span class="lines">@@ -45,7 +44,7 @@
</span><span class="cx"> EventInterface eventInterface() const override;
</span><span class="cx">
</span><span class="cx"> private:
</span><del>- explicit OfflineAudioCompletionEvent(PassRefPtr<AudioBuffer> renderedBuffer);
</del><ins>+ explicit OfflineAudioCompletionEvent(RefPtr<AudioBuffer>&& renderedBuffer);
</ins><span class="cx">
</span><span class="cx"> RefPtr<AudioBuffer> m_renderedBuffer;
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioOfflineAudioDestinationNodeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/OfflineAudioDestinationNode.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx">
</span><span class="cx"> #include "AudioBuffer.h"
</span><span class="cx"> #include "AudioDestinationNode.h"
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefPtr.h>
</span><span class="cx"> #include <wtf/Threading.h>
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioOscillatorNodeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/OscillatorNode.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/OscillatorNode.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/OscillatorNode.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx"> #include "AudioParam.h"
</span><span class="cx"> #include "AudioScheduledSourceNode.h"
</span><span class="cx"> #include <wtf/Lock.h>
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefPtr.h>
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioPeriodicWaveh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/PeriodicWave.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/PeriodicWave.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/PeriodicWave.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -32,7 +32,6 @@
</span><span class="cx"> #include "AudioArray.h"
</span><span class="cx"> #include <memory>
</span><span class="cx"> #include <runtime/Float32Array.h>
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefCounted.h>
</span><span class="cx"> #include <wtf/RefPtr.h>
</span><span class="cx"> #include <wtf/Vector.h>
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioScriptProcessorNodeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/ScriptProcessorNode.h (202967 => 202968)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/ScriptProcessorNode.h        2016-07-08 06:28:58 UTC (rev 202967)
+++ trunk/Source/WebCore/Modules/webaudio/ScriptProcessorNode.h        2016-07-08 06:32:41 UTC (rev 202968)
</span><span class="lines">@@ -31,7 +31,6 @@
</span><span class="cx"> #include "EventListener.h"
</span><span class="cx"> #include "EventTarget.h"
</span><span class="cx"> #include <wtf/Forward.h>
</span><del>-#include <wtf/PassRefPtr.h>
</del><span class="cx"> #include <wtf/RefPtr.h>
</span><span class="cx"> #include <wtf/Vector.h>
</span><span class="cx">
</span></span></pre>
</div>
</div>
</body>
</html>