<!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>[203109] trunk/Source</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/203109">203109</a></dd>
<dt>Author</dt> <dd>gyuyoung.kim@webkit.org</dd>
<dt>Date</dt> <dd>2016-07-11 23:24:30 -0700 (Mon, 11 Jul 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>Purge PassRefPtr in platform/efl and platform/mac
https://bugs.webkit.org/show_bug.cgi?id=159548

Reviewed by Alex Christensen.

Remove all use of PassRefPtr and clean up unnecessary tabs and spaces.
Source/WebCore:

WebKit2 codes are also changed because of setBufferForType()'s modification.

No new tests, no behavior changes.

* platform/PasteboardStrategy.h:
* platform/PlatformPasteboard.h:
* platform/PlatformSpeechSynthesizer.h:
* platform/SerializedPlatformRepresentation.h:
* platform/efl/PlatformSpeechSynthesisProviderEfl.cpp:
(WebCore::PlatformSpeechSynthesisProviderEfl::speak):
* platform/efl/PlatformSpeechSynthesisProviderEfl.h:
* platform/efl/PlatformSpeechSynthesizerEfl.cpp:
(WebCore::PlatformSpeechSynthesizer::speak):
* platform/ios/PlatformPasteboardIOS.mm:
(WebCore::PlatformPasteboard::setBufferForType):
* platform/ios/PlatformSpeechSynthesizerIOS.mm:
(SOFT_LINK_CONSTANT):
(-[WebSpeechSynthesisWrapper initWithSpeechSynthesizer:]):
(-[WebSpeechSynthesisWrapper mapSpeechRateToPlatformRate:]):
(-[WebSpeechSynthesisWrapper speakUtterance:]):
(-[WebSpeechSynthesisWrapper pause]):
(-[WebSpeechSynthesisWrapper resume]):
(-[WebSpeechSynthesisWrapper cancel]):
(-[WebSpeechSynthesisWrapper speechSynthesizer:didStartSpeechUtterance:]):
(-[WebSpeechSynthesisWrapper speechSynthesizer:didFinishSpeechUtterance:]):
(-[WebSpeechSynthesisWrapper speechSynthesizer:didPauseSpeechUtterance:]):
(-[WebSpeechSynthesisWrapper speechSynthesizer:didContinueSpeechUtterance:]):
(-[WebSpeechSynthesisWrapper speechSynthesizer:didCancelSpeechUtterance:]):
(-[WebSpeechSynthesisWrapper speechSynthesizer:willSpeakRangeOfSpeechString:utterance:]):
(WebCore::PlatformSpeechSynthesizer::speak):
* platform/mac/PasteboardMac.mm:
(WebCore::Pasteboard::write):
* platform/mac/PlatformPasteboardMac.mm:
(WebCore::PlatformPasteboard::getTypes):
(WebCore::PlatformPasteboard::getPathnamesForType):
(WebCore::PlatformPasteboard::color):
(WebCore::PlatformPasteboard::copy):
(WebCore::PlatformPasteboard::setBufferForType):
(WebCore::PlatformPasteboard::setPathnamesForType):
* platform/mac/PlatformSpeechSynthesizerMac.mm:
(-[WebSpeechSynthesisWrapper initWithSpeechSynthesizer:]):
(-[WebSpeechSynthesisWrapper speakUtterance:]):
(-[WebSpeechSynthesisWrapper pause]):
(-[WebSpeechSynthesisWrapper resume]):
(-[WebSpeechSynthesisWrapper cancel]):
(-[WebSpeechSynthesisWrapper speechSynthesizer:didFinishSpeaking:]):
(WebCore::PlatformSpeechSynthesizer::initializeVoiceList):
(WebCore::PlatformSpeechSynthesizer::speak):
* platform/mac/SerializedPlatformRepresentationMac.h:
* platform/mac/SerializedPlatformRepresentationMac.mm:
(WebCore::SerializedPlatformRepresentationMac::data):
(WebCore::jsValueWithValueInContext):
* platform/mock/PlatformSpeechSynthesizerMock.cpp:
(WebCore::PlatformSpeechSynthesizerMock::speakingFinished):
(WebCore::PlatformSpeechSynthesizerMock::speak):
(WebCore::PlatformSpeechSynthesizerMock::cancel):
* platform/mock/PlatformSpeechSynthesizerMock.h:

Source/WebKit/mac:

* WebCoreSupport/WebPlatformStrategies.h:
* WebCoreSupport/WebPlatformStrategies.mm:
(WebPlatformStrategies::setBufferForType):

Source/WebKit2:

WebKit2 codes are also changed because of setBufferForType()'s modification.

* UIProcess/Cocoa/WebPasteboardProxyCocoa.mm:
(WebKit::WebPasteboardProxy::setPasteboardBufferForType):
* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
(WebKit::WebPlatformStrategies::setBufferForType):
* WebProcess/WebCoreSupport/WebPlatformStrategies.h:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreplatformPasteboardStrategyh">trunk/Source/WebCore/platform/PasteboardStrategy.h</a></li>
<li><a href="#trunkSourceWebCoreplatformPlatformPasteboardh">trunk/Source/WebCore/platform/PlatformPasteboard.h</a></li>
<li><a href="#trunkSourceWebCoreplatformPlatformSpeechSynthesizerh">trunk/Source/WebCore/platform/PlatformSpeechSynthesizer.h</a></li>
<li><a href="#trunkSourceWebCoreplatformSerializedPlatformRepresentationh">trunk/Source/WebCore/platform/SerializedPlatformRepresentation.h</a></li>
<li><a href="#trunkSourceWebCoreplatformeflPlatformSpeechSynthesisProviderEflcpp">trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesisProviderEfl.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformeflPlatformSpeechSynthesisProviderEflh">trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesisProviderEfl.h</a></li>
<li><a href="#trunkSourceWebCoreplatformeflPlatformSpeechSynthesizerEflcpp">trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesizerEfl.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformiosPlatformPasteboardIOSmm">trunk/Source/WebCore/platform/ios/PlatformPasteboardIOS.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformiosPlatformSpeechSynthesizerIOSmm">trunk/Source/WebCore/platform/ios/PlatformSpeechSynthesizerIOS.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformmacPasteboardMacmm">trunk/Source/WebCore/platform/mac/PasteboardMac.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformmacPlatformPasteboardMacmm">trunk/Source/WebCore/platform/mac/PlatformPasteboardMac.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformmacPlatformSpeechSynthesizerMacmm">trunk/Source/WebCore/platform/mac/PlatformSpeechSynthesizerMac.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformmacSerializedPlatformRepresentationMach">trunk/Source/WebCore/platform/mac/SerializedPlatformRepresentationMac.h</a></li>
<li><a href="#trunkSourceWebCoreplatformmacSerializedPlatformRepresentationMacmm">trunk/Source/WebCore/platform/mac/SerializedPlatformRepresentationMac.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformmockPlatformSpeechSynthesizerMockcpp">trunk/Source/WebCore/platform/mock/PlatformSpeechSynthesizerMock.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformmockPlatformSpeechSynthesizerMockh">trunk/Source/WebCore/platform/mock/PlatformSpeechSynthesizerMock.h</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacWebCoreSupportWebPlatformStrategiesh">trunk/Source/WebKit/mac/WebCoreSupport/WebPlatformStrategies.h</a></li>
<li><a href="#trunkSourceWebKitmacWebCoreSupportWebPlatformStrategiesmm">trunk/Source/WebKit/mac/WebCoreSupport/WebPlatformStrategies.mm</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2UIProcessCocoaWebPasteboardProxyCocoamm">trunk/Source/WebKit2/UIProcess/Cocoa/WebPasteboardProxyCocoa.mm</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebCoreSupportWebPlatformStrategiescpp">trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebCoreSupportWebPlatformStrategiesh">trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebCore/ChangeLog        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -1,3 +1,69 @@
</span><ins>+2016-07-11  Gyuyoung Kim  &lt;gyuyoung.kim@webkit.org&gt;
+
+        Purge PassRefPtr in platform/efl and platform/mac 
+        https://bugs.webkit.org/show_bug.cgi?id=159548
+
+        Reviewed by Alex Christensen.
+
+        Remove all use of PassRefPtr and clean up unnecessary tabs and spaces.
+        WebKit2 codes are also changed because of setBufferForType()'s modification.
+
+        No new tests, no behavior changes.
+
+        * platform/PasteboardStrategy.h:
+        * platform/PlatformPasteboard.h:
+        * platform/PlatformSpeechSynthesizer.h:
+        * platform/SerializedPlatformRepresentation.h:
+        * platform/efl/PlatformSpeechSynthesisProviderEfl.cpp:
+        (WebCore::PlatformSpeechSynthesisProviderEfl::speak):
+        * platform/efl/PlatformSpeechSynthesisProviderEfl.h:
+        * platform/efl/PlatformSpeechSynthesizerEfl.cpp:
+        (WebCore::PlatformSpeechSynthesizer::speak):
+        * platform/ios/PlatformPasteboardIOS.mm:
+        (WebCore::PlatformPasteboard::setBufferForType):
+        * platform/ios/PlatformSpeechSynthesizerIOS.mm:
+        (SOFT_LINK_CONSTANT):
+        (-[WebSpeechSynthesisWrapper initWithSpeechSynthesizer:]):
+        (-[WebSpeechSynthesisWrapper mapSpeechRateToPlatformRate:]):
+        (-[WebSpeechSynthesisWrapper speakUtterance:]):
+        (-[WebSpeechSynthesisWrapper pause]):
+        (-[WebSpeechSynthesisWrapper resume]):
+        (-[WebSpeechSynthesisWrapper cancel]):
+        (-[WebSpeechSynthesisWrapper speechSynthesizer:didStartSpeechUtterance:]):
+        (-[WebSpeechSynthesisWrapper speechSynthesizer:didFinishSpeechUtterance:]):
+        (-[WebSpeechSynthesisWrapper speechSynthesizer:didPauseSpeechUtterance:]):
+        (-[WebSpeechSynthesisWrapper speechSynthesizer:didContinueSpeechUtterance:]):
+        (-[WebSpeechSynthesisWrapper speechSynthesizer:didCancelSpeechUtterance:]):
+        (-[WebSpeechSynthesisWrapper speechSynthesizer:willSpeakRangeOfSpeechString:utterance:]):
+        (WebCore::PlatformSpeechSynthesizer::speak):
+        * platform/mac/PasteboardMac.mm:
+        (WebCore::Pasteboard::write):
+        * platform/mac/PlatformPasteboardMac.mm:
+        (WebCore::PlatformPasteboard::getTypes):
+        (WebCore::PlatformPasteboard::getPathnamesForType):
+        (WebCore::PlatformPasteboard::color):
+        (WebCore::PlatformPasteboard::copy):
+        (WebCore::PlatformPasteboard::setBufferForType):
+        (WebCore::PlatformPasteboard::setPathnamesForType):
+        * platform/mac/PlatformSpeechSynthesizerMac.mm:
+        (-[WebSpeechSynthesisWrapper initWithSpeechSynthesizer:]):
+        (-[WebSpeechSynthesisWrapper speakUtterance:]):
+        (-[WebSpeechSynthesisWrapper pause]):
+        (-[WebSpeechSynthesisWrapper resume]):
+        (-[WebSpeechSynthesisWrapper cancel]):
+        (-[WebSpeechSynthesisWrapper speechSynthesizer:didFinishSpeaking:]):
+        (WebCore::PlatformSpeechSynthesizer::initializeVoiceList):
+        (WebCore::PlatformSpeechSynthesizer::speak):
+        * platform/mac/SerializedPlatformRepresentationMac.h:
+        * platform/mac/SerializedPlatformRepresentationMac.mm:
+        (WebCore::SerializedPlatformRepresentationMac::data):
+        (WebCore::jsValueWithValueInContext):
+        * platform/mock/PlatformSpeechSynthesizerMock.cpp:
+        (WebCore::PlatformSpeechSynthesizerMock::speakingFinished):
+        (WebCore::PlatformSpeechSynthesizerMock::speak):
+        (WebCore::PlatformSpeechSynthesizerMock::cancel):
+        * platform/mock/PlatformSpeechSynthesizerMock.h:
+
</ins><span class="cx"> 2016-07-11  Frederic Wang  &lt;fwang@igalia.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Move parsing of mspace attributes to a MathMLSpaceElement class
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformPasteboardStrategyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/PasteboardStrategy.h (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/PasteboardStrategy.h        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebCore/platform/PasteboardStrategy.h        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -20,7 +20,7 @@
</span><span class="cx">  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
</span><span class="cx">  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
</span><span class="cx">  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
</span><del>- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
</del><ins>+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</ins><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> #ifndef PasteboardStrategy_h
</span><span class="lines">@@ -60,11 +60,11 @@
</span><span class="cx">     virtual String uniqueName() = 0;
</span><span class="cx">     virtual Color color(const String&amp; pasteboardName) = 0;
</span><span class="cx">     virtual URL url(const String&amp; pasteboardName) = 0;
</span><del>-    
</del><ins>+
</ins><span class="cx">     virtual long addTypes(const Vector&lt;String&gt;&amp; pasteboardTypes, const String&amp; pasteboardName) = 0;
</span><span class="cx">     virtual long setTypes(const Vector&lt;String&gt;&amp; pasteboardTypes, const String&amp; pasteboardName) = 0;
</span><span class="cx">     virtual long copy(const String&amp; fromPasteboard, const String&amp; toPasteboard) = 0;
</span><del>-    virtual long setBufferForType(PassRefPtr&lt;SharedBuffer&gt;, const String&amp; pasteboardType, const String&amp; pasteboardName) = 0;
</del><ins>+    virtual long setBufferForType(SharedBuffer*, const String&amp; pasteboardType, const String&amp; pasteboardName) = 0;
</ins><span class="cx">     virtual long setPathnamesForType(const Vector&lt;String&gt;&amp;, const String&amp; pasteboardType, const String&amp; pasteboardName) = 0;
</span><span class="cx">     virtual long setStringForType(const String&amp;, const String&amp; pasteboardType, const String&amp; pasteboardName) = 0;
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformPlatformPasteboardh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/PlatformPasteboard.h (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/PlatformPasteboard.h        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebCore/platform/PlatformPasteboard.h        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -20,7 +20,7 @@
</span><span class="cx">  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
</span><span class="cx">  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
</span><span class="cx">  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
</span><del>- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
</del><ins>+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</ins><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> #ifndef PlatformPasteboard_h
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx">     WEBCORE_EXPORT PlatformPasteboard();
</span><span class="cx"> #endif
</span><span class="cx">     WEBCORE_EXPORT static String uniqueName();
</span><del>-    
</del><ins>+
</ins><span class="cx">     WEBCORE_EXPORT void getTypes(Vector&lt;String&gt;&amp; types);
</span><span class="cx">     WEBCORE_EXPORT RefPtr&lt;SharedBuffer&gt; bufferForType(const String&amp; pasteboardType);
</span><span class="cx">     WEBCORE_EXPORT void getPathnamesForType(Vector&lt;String&gt;&amp; pathnames, const String&amp; pasteboardType);
</span><span class="lines">@@ -70,7 +70,7 @@
</span><span class="cx"> 
</span><span class="cx">     // These methods will return 0 if pasteboard ownership has been taken from us.
</span><span class="cx">     WEBCORE_EXPORT long copy(const String&amp; fromPasteboard);
</span><del>-    WEBCORE_EXPORT long setBufferForType(PassRefPtr&lt;SharedBuffer&gt;, const String&amp; pasteboardType);
</del><ins>+    WEBCORE_EXPORT long setBufferForType(SharedBuffer*, const String&amp; pasteboardType);
</ins><span class="cx">     WEBCORE_EXPORT long setPathnamesForType(const Vector&lt;String&gt;&amp; pathnames, const String&amp; pasteboardType);
</span><span class="cx">     WEBCORE_EXPORT long setStringForType(const String&amp;, const String&amp; pasteboardType);
</span><span class="cx">     WEBCORE_EXPORT void write(const PasteboardWebContent&amp;);
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformPlatformSpeechSynthesizerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/PlatformSpeechSynthesizer.h (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/PlatformSpeechSynthesizer.h        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebCore/platform/PlatformSpeechSynthesizer.h        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -71,13 +71,13 @@
</span><span class="cx">     // FIXME: We have multiple virtual functions just so we can support a mock for testing.
</span><span class="cx">     // Seems wasteful. Would be nice to find a better way.
</span><span class="cx">     WEBCORE_EXPORT virtual ~PlatformSpeechSynthesizer();
</span><del>-    
</del><ins>+
</ins><span class="cx">     const Vector&lt;RefPtr&lt;PlatformSpeechSynthesisVoice&gt;&gt;&amp; voiceList() const;
</span><del>-    virtual void speak(PassRefPtr&lt;PlatformSpeechSynthesisUtterance&gt;);
</del><ins>+    virtual void speak(RefPtr&lt;PlatformSpeechSynthesisUtterance&gt;&amp;&amp;);
</ins><span class="cx">     virtual void pause();
</span><span class="cx">     virtual void resume();
</span><span class="cx">     virtual void cancel();
</span><del>-    
</del><ins>+
</ins><span class="cx">     PlatformSpeechSynthesizerClient* client() const { return m_speechSynthesizerClient; }
</span><span class="cx"> 
</span><span class="cx"> protected:
</span><span class="lines">@@ -88,7 +88,7 @@
</span><span class="cx"> 
</span><span class="cx">     bool m_voiceListIsInitialized { false };
</span><span class="cx">     PlatformSpeechSynthesizerClient* m_speechSynthesizerClient;
</span><del>-    
</del><ins>+
</ins><span class="cx"> #if PLATFORM(COCOA)
</span><span class="cx">     RetainPtr&lt;WebSpeechSynthesisWrapper&gt; m_platformSpeechWrapper;
</span><span class="cx"> #endif
</span><span class="lines">@@ -96,7 +96,7 @@
</span><span class="cx">     std::unique_ptr&lt;PlatformSpeechSynthesisProviderEfl&gt; m_platformSpeechWrapper;
</span><span class="cx"> #endif
</span><span class="cx"> };
</span><del>-    
</del><ins>+
</ins><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(SPEECH_SYNTHESIS)
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformSerializedPlatformRepresentationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/SerializedPlatformRepresentation.h (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/SerializedPlatformRepresentation.h        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebCore/platform/SerializedPlatformRepresentation.h        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -39,7 +39,7 @@
</span><span class="cx">     virtual ~SerializedPlatformRepresentation() { }
</span><span class="cx"> 
</span><span class="cx">     virtual JSC::JSValue deserialize(JSC::ExecState*) const = 0;
</span><del>-    virtual PassRefPtr&lt;ArrayBuffer&gt; data() const = 0;
</del><ins>+    virtual RefPtr&lt;ArrayBuffer&gt; data() const = 0;
</ins><span class="cx">     virtual bool isEqual(const SerializedPlatformRepresentation&amp;) const = 0;
</span><span class="cx"> 
</span><span class="cx">     enum PlatformType {
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformeflPlatformSpeechSynthesisProviderEflcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesisProviderEfl.cpp (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesisProviderEfl.cpp        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesisProviderEfl.cpp        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -136,7 +136,7 @@
</span><span class="cx">     notImplemented();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void PlatformSpeechSynthesisProviderEfl::speak(PassRefPtr&lt;PlatformSpeechSynthesisUtterance&gt; utterance)
</del><ins>+void PlatformSpeechSynthesisProviderEfl::speak(RefPtr&lt;PlatformSpeechSynthesisUtterance&gt;&amp;&amp; utterance)
</ins><span class="cx"> {
</span><span class="cx">     if (!engineInit() || !utterance) {
</span><span class="cx">         fireSpeechEvent(SpeechError);
</span><span class="lines">@@ -143,7 +143,7 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    m_utterance = utterance;
</del><ins>+    m_utterance = WTFMove(utterance);
</ins><span class="cx">     String voice = voiceName(m_utterance);
</span><span class="cx">     espeak_SetVoiceByName(voice.utf8().data());
</span><span class="cx">     espeak_SetParameter(espeakRATE, convertRateToEspeakValue(m_utterance-&gt;rate()), 0);
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformeflPlatformSpeechSynthesisProviderEflh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesisProviderEfl.h (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesisProviderEfl.h        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesisProviderEfl.h        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx">     void initializeVoiceList(Vector&lt;RefPtr&lt;PlatformSpeechSynthesisVoice&gt;&gt;&amp;);
</span><span class="cx">     void pause();
</span><span class="cx">     void resume();
</span><del>-    void speak(PassRefPtr&lt;PlatformSpeechSynthesisUtterance&gt;);
</del><ins>+    void speak(RefPtr&lt;PlatformSpeechSynthesisUtterance&gt;&amp;&amp;);
</ins><span class="cx">     void cancel();
</span><span class="cx"> private:
</span><span class="cx">     bool engineInit();
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformeflPlatformSpeechSynthesizerEflcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesizerEfl.cpp (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesizerEfl.cpp        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebCore/platform/efl/PlatformSpeechSynthesizerEfl.cpp        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -63,10 +63,10 @@
</span><span class="cx">     m_platformSpeechWrapper-&gt;resume();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void PlatformSpeechSynthesizer::speak(PassRefPtr&lt;PlatformSpeechSynthesisUtterance&gt; utterance)
</del><ins>+void PlatformSpeechSynthesizer::speak(RefPtr&lt;PlatformSpeechSynthesisUtterance&gt;&amp;&amp; utterance)
</ins><span class="cx"> {
</span><span class="cx">     ASSERT(m_platformSpeechWrapper);
</span><del>-    m_platformSpeechWrapper-&gt;speak(utterance);
</del><ins>+    m_platformSpeechWrapper-&gt;speak(WTFMove(utterance));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void PlatformSpeechSynthesizer::cancel()
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformiosPlatformPasteboardIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/ios/PlatformPasteboardIOS.mm (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/ios/PlatformPasteboardIOS.mm        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebCore/platform/ios/PlatformPasteboardIOS.mm        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -125,7 +125,7 @@
</span><span class="cx">     return 0;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-long PlatformPasteboard::setBufferForType(PassRefPtr&lt;SharedBuffer&gt;, const String&amp;)
</del><ins>+long PlatformPasteboard::setBufferForType(SharedBuffer*, const String&amp;)
</ins><span class="cx"> {
</span><span class="cx">     return 0;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformiosPlatformSpeechSynthesizerIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/ios/PlatformSpeechSynthesizerIOS.mm (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/ios/PlatformSpeechSynthesizerIOS.mm        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebCore/platform/ios/PlatformSpeechSynthesizerIOS.mm        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -9,7 +9,7 @@
</span><span class="cx">  * 2. Redistributions in binary form must reproduce the above copyright
</span><span class="cx">  *    notice, this list of conditions and the following disclaimer in the
</span><span class="cx">  *    documentation and/or other materials provided with the distribution.
</span><del>- * 
</del><ins>+ *
</ins><span class="cx">  * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
</span><span class="cx">  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
</span><span class="cx">  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx">     WebCore::PlatformSpeechSynthesizer* m_synthesizerObject;
</span><span class="cx">     // Hold a Ref to the utterance so that it won't disappear until the synth is done with it.
</span><span class="cx">     RefPtr&lt;WebCore::PlatformSpeechSynthesisUtterance&gt; m_utterance;
</span><del>-    
</del><ins>+
</ins><span class="cx">     RetainPtr&lt;AVSpeechSynthesizer&gt; m_synthesizer;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -70,7 +70,7 @@
</span><span class="cx"> {
</span><span class="cx">     if (!(self = [super init]))
</span><span class="cx">         return nil;
</span><del>-    
</del><ins>+
</ins><span class="cx">     m_synthesizerObject = synthesizer;
</span><span class="cx">     return self;
</span><span class="cx"> }
</span><span class="lines">@@ -83,7 +83,7 @@
</span><span class="cx">         rate *= AVSpeechUtteranceDefaultSpeechRate;
</span><span class="cx">     else
</span><span class="cx">         rate = AVSpeechUtteranceDefaultSpeechRate + ((rate - 1) * (AVSpeechUtteranceMaximumSpeechRate - AVSpeechUtteranceDefaultSpeechRate));
</span><del>-    
</del><ins>+
</ins><span class="cx">     return rate;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -92,10 +92,10 @@
</span><span class="cx">     // When speak is called we should not have an existing speech utterance outstanding.
</span><span class="cx">     ASSERT(!m_utterance);
</span><span class="cx">     ASSERT(utterance);
</span><del>-    
</del><ins>+
</ins><span class="cx">     if (!utterance)
</span><span class="cx">         return;
</span><del>-    
</del><ins>+
</ins><span class="cx">     BEGIN_BLOCK_OBJC_EXCEPTIONS
</span><span class="cx">     if (!m_synthesizer) {
</span><span class="cx">         m_synthesizer = adoptNS([allocAVSpeechSynthesizerInstance() init]);
</span><span class="lines">@@ -113,7 +113,7 @@
</span><span class="cx">             voiceLanguage = utterance-&gt;lang();
</span><span class="cx">     } else
</span><span class="cx">         voiceLanguage = utterance-&gt;voice()-&gt;lang();
</span><del>-    
</del><ins>+
</ins><span class="cx">     AVSpeechSynthesisVoice *avVoice = nil;
</span><span class="cx">     if (voiceLanguage)
</span><span class="cx">         avVoice = [AVSpeechSynthesisVoiceClass voiceWithLanguage:voiceLanguage];
</span><span class="lines">@@ -125,7 +125,7 @@
</span><span class="cx">     [avUtterance setPitchMultiplier:utterance-&gt;pitch()];
</span><span class="cx">     [avUtterance setVoice:avVoice];
</span><span class="cx">     m_utterance = utterance;
</span><del>-    
</del><ins>+
</ins><span class="cx">     [m_synthesizer speakUtterance:avUtterance];
</span><span class="cx">     END_BLOCK_OBJC_EXCEPTIONS
</span><span class="cx"> }
</span><span class="lines">@@ -134,7 +134,7 @@
</span><span class="cx"> {
</span><span class="cx">     if (!m_utterance)
</span><span class="cx">         return;
</span><del>-    
</del><ins>+
</ins><span class="cx">     BEGIN_BLOCK_OBJC_EXCEPTIONS
</span><span class="cx">     [m_synthesizer pauseSpeakingAtBoundary:AVSpeechBoundaryImmediate];
</span><span class="cx">     END_BLOCK_OBJC_EXCEPTIONS
</span><span class="lines">@@ -144,7 +144,7 @@
</span><span class="cx"> {
</span><span class="cx">     if (!m_utterance)
</span><span class="cx">         return;
</span><del>-    
</del><ins>+
</ins><span class="cx">     BEGIN_BLOCK_OBJC_EXCEPTIONS
</span><span class="cx">     [m_synthesizer continueSpeaking];
</span><span class="cx">     END_BLOCK_OBJC_EXCEPTIONS
</span><span class="lines">@@ -154,7 +154,7 @@
</span><span class="cx"> {
</span><span class="cx">     if (!m_utterance)
</span><span class="cx">         return;
</span><del>-    
</del><ins>+
</ins><span class="cx">     BEGIN_BLOCK_OBJC_EXCEPTIONS
</span><span class="cx">     [m_synthesizer stopSpeakingAtBoundary:AVSpeechBoundaryImmediate];
</span><span class="cx">     END_BLOCK_OBJC_EXCEPTIONS
</span><span class="lines">@@ -166,7 +166,7 @@
</span><span class="cx">     UNUSED_PARAM(utterance);
</span><span class="cx">     if (!m_utterance)
</span><span class="cx">         return;
</span><del>-    
</del><ins>+
</ins><span class="cx">     m_synthesizerObject-&gt;client()-&gt;didStartSpeaking(m_utterance);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -176,11 +176,11 @@
</span><span class="cx">     UNUSED_PARAM(utterance);
</span><span class="cx">     if (!m_utterance)
</span><span class="cx">         return;
</span><del>-    
</del><ins>+
</ins><span class="cx">     // Clear the m_utterance variable in case finish speaking kicks off a new speaking job immediately.
</span><span class="cx">     RefPtr&lt;WebCore::PlatformSpeechSynthesisUtterance&gt; platformUtterance = m_utterance;
</span><span class="cx">     m_utterance = nullptr;
</span><del>-    
</del><ins>+
</ins><span class="cx">     m_synthesizerObject-&gt;client()-&gt;didFinishSpeaking(platformUtterance);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -190,7 +190,7 @@
</span><span class="cx">     UNUSED_PARAM(utterance);
</span><span class="cx">     if (!m_utterance)
</span><span class="cx">         return;
</span><del>-    
</del><ins>+
</ins><span class="cx">     m_synthesizerObject-&gt;client()-&gt;didPauseSpeaking(m_utterance);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -200,7 +200,7 @@
</span><span class="cx">     UNUSED_PARAM(utterance);
</span><span class="cx">     if (!m_utterance)
</span><span class="cx">         return;
</span><del>-    
</del><ins>+
</ins><span class="cx">     m_synthesizerObject-&gt;client()-&gt;didResumeSpeaking(m_utterance);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -210,11 +210,11 @@
</span><span class="cx">     UNUSED_PARAM(utterance);
</span><span class="cx">     if (!m_utterance)
</span><span class="cx">         return;
</span><del>-    
</del><ins>+
</ins><span class="cx">     // Clear the m_utterance variable in case finish speaking kicks off a new speaking job immediately.
</span><span class="cx">     RefPtr&lt;WebCore::PlatformSpeechSynthesisUtterance&gt; platformUtterance = m_utterance;
</span><span class="cx">     m_utterance = nullptr;
</span><del>-    
</del><ins>+
</ins><span class="cx">     m_synthesizerObject-&gt;client()-&gt;didFinishSpeaking(platformUtterance);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -222,10 +222,10 @@
</span><span class="cx"> {
</span><span class="cx">     UNUSED_PARAM(synthesizer);
</span><span class="cx">     UNUSED_PARAM(utterance);
</span><del>-    
</del><ins>+
</ins><span class="cx">     if (!m_utterance)
</span><span class="cx">         return;
</span><del>-    
</del><ins>+
</ins><span class="cx">     // iOS only supports word boundaries.
</span><span class="cx">     m_synthesizerObject-&gt;client()-&gt;boundaryEventOccurred(m_utterance, WebCore::SpeechWordBoundary, characterRange.location);
</span><span class="cx"> }
</span><span class="lines">@@ -266,11 +266,11 @@
</span><span class="cx">     [m_platformSpeechWrapper.get() resume];
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void PlatformSpeechSynthesizer::speak(PassRefPtr&lt;PlatformSpeechSynthesisUtterance&gt; utterance)
</del><ins>+void PlatformSpeechSynthesizer::speak(RefPtr&lt;PlatformSpeechSynthesisUtterance&gt;&amp;&amp; utterance)
</ins><span class="cx"> {
</span><span class="cx">     if (!m_platformSpeechWrapper)
</span><span class="cx">         m_platformSpeechWrapper = adoptNS([[WebSpeechSynthesisWrapper alloc] initWithSpeechSynthesizer:this]);
</span><del>-    
</del><ins>+
</ins><span class="cx">     [m_platformSpeechWrapper.get() speakUtterance:utterance.get()];
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -278,7 +278,7 @@
</span><span class="cx"> {
</span><span class="cx">     [m_platformSpeechWrapper.get() cancel];
</span><span class="cx"> }
</span><del>-    
</del><ins>+
</ins><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(SPEECH_SYNTHESIS)
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformmacPasteboardMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/mac/PasteboardMac.mm (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/mac/PasteboardMac.mm        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebCore/platform/mac/PasteboardMac.mm        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -169,15 +169,15 @@
</span><span class="cx"> 
</span><span class="cx">     ASSERT(content.clientTypes.size() == content.clientData.size());
</span><span class="cx">     for (size_t i = 0, size = content.clientTypes.size(); i &lt; size; ++i)
</span><del>-        m_changeCount = platformStrategies()-&gt;pasteboardStrategy()-&gt;setBufferForType(content.clientData[i], content.clientTypes[i], m_pasteboardName);
</del><ins>+        m_changeCount = platformStrategies()-&gt;pasteboardStrategy()-&gt;setBufferForType(content.clientData[i].get(), content.clientTypes[i], m_pasteboardName);
</ins><span class="cx">     if (content.canSmartCopyOrDelete)
</span><del>-        m_changeCount = platformStrategies()-&gt;pasteboardStrategy()-&gt;setBufferForType(0, WebSmartPastePboardType, m_pasteboardName);
</del><ins>+        m_changeCount = platformStrategies()-&gt;pasteboardStrategy()-&gt;setBufferForType(nullptr, WebSmartPastePboardType, m_pasteboardName);
</ins><span class="cx">     if (content.dataInWebArchiveFormat)
</span><del>-        m_changeCount = platformStrategies()-&gt;pasteboardStrategy()-&gt;setBufferForType(content.dataInWebArchiveFormat, WebArchivePboardType, m_pasteboardName);
</del><ins>+        m_changeCount = platformStrategies()-&gt;pasteboardStrategy()-&gt;setBufferForType(content.dataInWebArchiveFormat.get(), WebArchivePboardType, m_pasteboardName);
</ins><span class="cx">     if (content.dataInRTFDFormat)
</span><del>-        m_changeCount = platformStrategies()-&gt;pasteboardStrategy()-&gt;setBufferForType(content.dataInRTFDFormat, NSRTFDPboardType, m_pasteboardName);
</del><ins>+        m_changeCount = platformStrategies()-&gt;pasteboardStrategy()-&gt;setBufferForType(content.dataInRTFDFormat.get(), NSRTFDPboardType, m_pasteboardName);
</ins><span class="cx">     if (content.dataInRTFFormat)
</span><del>-        m_changeCount = platformStrategies()-&gt;pasteboardStrategy()-&gt;setBufferForType(content.dataInRTFFormat, NSRTFPboardType, m_pasteboardName);
</del><ins>+        m_changeCount = platformStrategies()-&gt;pasteboardStrategy()-&gt;setBufferForType(content.dataInRTFFormat.get(), NSRTFPboardType, m_pasteboardName);
</ins><span class="cx">     if (!content.dataInStringFormat.isNull())
</span><span class="cx">         m_changeCount = platformStrategies()-&gt;pasteboardStrategy()-&gt;setStringForType(content.dataInStringFormat, NSStringPboardType, m_pasteboardName);
</span><span class="cx"> }
</span><span class="lines">@@ -263,7 +263,7 @@
</span><span class="cx">     ASSERT(MIMETypeRegistry::isSupportedImageResourceMIMEType(pasteboardImage.resourceMIMEType));
</span><span class="cx"> 
</span><span class="cx">     m_changeCount = writeURLForTypes(writableTypesForImage(), m_pasteboardName, pasteboardImage.url);
</span><del>-    m_changeCount = platformStrategies()-&gt;pasteboardStrategy()-&gt;setBufferForType(SharedBuffer::wrapCFData(imageData), NSTIFFPboardType, m_pasteboardName);
</del><ins>+    m_changeCount = platformStrategies()-&gt;pasteboardStrategy()-&gt;setBufferForType(SharedBuffer::wrapCFData(imageData).ptr(), NSTIFFPboardType, m_pasteboardName);
</ins><span class="cx">     writeFileWrapperAsRTFDAttachment(fileWrapper(pasteboardImage), m_pasteboardName, m_changeCount);
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformmacPlatformPasteboardMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/mac/PlatformPasteboardMac.mm (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/mac/PlatformPasteboardMac.mm        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebCore/platform/mac/PlatformPasteboardMac.mm        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -40,7 +40,7 @@
</span><span class="cx"> void PlatformPasteboard::getTypes(Vector&lt;String&gt;&amp; types)
</span><span class="cx"> {
</span><span class="cx">     NSArray *pasteboardTypes = [m_pasteboard.get() types];
</span><del>-    
</del><ins>+
</ins><span class="cx">     for (NSUInteger i = 0; i &lt; [pasteboardTypes count]; i++)
</span><span class="cx">         types.append([pasteboardTypes objectAtIndex:i]);
</span><span class="cx"> }
</span><span class="lines">@@ -58,7 +58,7 @@
</span><span class="cx">     NSArray* paths = [m_pasteboard.get() propertyListForType:pasteboardType];
</span><span class="cx">     if ([paths isKindOfClass:[NSString class]]) {
</span><span class="cx">         pathnames.append((NSString *)paths);
</span><del>-        return;        
</del><ins>+        return;
</ins><span class="cx">     }
</span><span class="cx">     for (NSUInteger i = 0; i &lt; [paths count]; i++)
</span><span class="cx">         pathnames.append([paths objectAtIndex:i]);
</span><span class="lines">@@ -85,14 +85,14 @@
</span><span class="cx"> Color PlatformPasteboard::color()
</span><span class="cx"> {
</span><span class="cx">     NSColor *color = [NSColor colorFromPasteboard:m_pasteboard.get()];
</span><del>-    
-    // The color may not be in an RGB colorspace. This commonly occurs when a color is 
</del><ins>+
+    // The color may not be in an RGB colorspace. This commonly occurs when a color is
</ins><span class="cx">     // dragged from the NSColorPanel grayscale picker.
</span><span class="cx">     if ([[color colorSpace] colorSpaceModel] != NSRGBColorSpaceModel)
</span><span class="cx">         color = [color colorUsingColorSpaceName:NSCalibratedRGBColorSpace];
</span><del>-    
-    return makeRGBA((int)([color redComponent] * 255.0 + 0.5), (int)([color greenComponent] * 255.0 + 0.5), 
-                    (int)([color blueComponent] * 255.0 + 0.5), (int)([color alphaComponent] * 255.0 + 0.5));    
</del><ins>+
+    return makeRGBA((int)([color redComponent] * 255.0 + 0.5), (int)([color greenComponent] * 255.0 + 0.5),
+        (int)([color blueComponent] * 255.0 + 0.5), (int)([color alphaComponent] * 255.0 + 0.5));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> URL PlatformPasteboard::url()
</span><span class="lines">@@ -104,13 +104,13 @@
</span><span class="cx"> {
</span><span class="cx">     NSPasteboard* pasteboard = [NSPasteboard pasteboardWithName:fromPasteboard];
</span><span class="cx">     NSArray* types = [pasteboard types];
</span><del>-    
</del><ins>+
</ins><span class="cx">     [m_pasteboard.get() addTypes:types owner:nil];
</span><span class="cx">     for (NSUInteger i = 0; i &lt; [types count]; i++) {
</span><span class="cx">         NSString* type = [types objectAtIndex:i];
</span><span class="cx">         if (![m_pasteboard.get() setData:[pasteboard dataForType:type] forType:type])
</span><span class="cx">             return 0;
</span><del>-    }    
</del><ins>+    }
</ins><span class="cx">     return changeCount();
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -135,7 +135,7 @@
</span><span class="cx">     return [m_pasteboard.get() declareTypes:types.get() owner:nil];
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-long PlatformPasteboard::setBufferForType(PassRefPtr&lt;SharedBuffer&gt; buffer, const String&amp; pasteboardType)
</del><ins>+long PlatformPasteboard::setBufferForType(SharedBuffer* buffer, const String&amp; pasteboardType)
</ins><span class="cx"> {
</span><span class="cx">     BOOL didWriteData = [m_pasteboard setData:buffer ? buffer-&gt;createNSData().get() : nil forType:pasteboardType];
</span><span class="cx">     if (!didWriteData)
</span><span class="lines">@@ -145,7 +145,7 @@
</span><span class="cx"> 
</span><span class="cx"> long PlatformPasteboard::setPathnamesForType(const Vector&lt;String&gt;&amp; pathnames, const String&amp; pasteboardType)
</span><span class="cx"> {
</span><del>-    RetainPtr&lt;NSMutableArray&gt; paths = adoptNS([[NSMutableArray alloc] init]);    
</del><ins>+    RetainPtr&lt;NSMutableArray&gt; paths = adoptNS([[NSMutableArray alloc] init]);
</ins><span class="cx">     for (size_t i = 0; i &lt; pathnames.size(); ++i)
</span><span class="cx">         [paths.get() addObject:[NSArray arrayWithObject:pathnames[i]]];
</span><span class="cx">     BOOL didWriteData = [m_pasteboard.get() setPropertyList:paths.get() forType:pasteboardType];
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformmacPlatformSpeechSynthesizerMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/mac/PlatformSpeechSynthesizerMac.mm (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/mac/PlatformSpeechSynthesizerMac.mm        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebCore/platform/mac/PlatformSpeechSynthesizerMac.mm        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -30,7 +30,6 @@
</span><span class="cx"> #include &quot;PlatformSpeechSynthesisVoice.h&quot;
</span><span class="cx"> #include &quot;WebCoreSystemInterface.h&quot;
</span><span class="cx"> #include &lt;AppKit/NSSpeechSynthesizer.h&gt;
</span><del>-#include &lt;wtf/PassRefPtr.h&gt;
</del><span class="cx"> #include &lt;wtf/RetainPtr.h&gt;
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(SPEECH_SYNTHESIS)
</span><span class="lines">@@ -40,7 +39,7 @@
</span><span class="cx">     WebCore::PlatformSpeechSynthesizer* m_synthesizerObject;
</span><span class="cx">     // Hold a Ref to the utterance so that it won't disappear until the synth is done with it.
</span><span class="cx">     WebCore::PlatformSpeechSynthesisUtterance* m_utterance;
</span><del>-    
</del><ins>+
</ins><span class="cx">     RetainPtr&lt;NSSpeechSynthesizer&gt; m_synthesizer;
</span><span class="cx">     float m_basePitch;
</span><span class="cx"> }
</span><span class="lines">@@ -56,7 +55,7 @@
</span><span class="cx"> {
</span><span class="cx">     if (!(self = [super init]))
</span><span class="cx">         return nil;
</span><del>-    
</del><ins>+
</ins><span class="cx">     m_synthesizerObject = synthesizer;
</span><span class="cx">     [self updateBasePitchForSynthesizer];
</span><span class="cx">     return self;
</span><span class="lines">@@ -88,16 +87,16 @@
</span><span class="cx">     // When speak is called we should not have an existing speech utterance outstanding.
</span><span class="cx">     ASSERT(!m_utterance);
</span><span class="cx">     ASSERT(utterance);
</span><del>-    
</del><ins>+
</ins><span class="cx">     if (!m_synthesizer) {
</span><span class="cx">         m_synthesizer = adoptNS([[NSSpeechSynthesizer alloc] initWithVoice:nil]);
</span><span class="cx">         [m_synthesizer setDelegate:self];
</span><span class="cx">     }
</span><del>-    
</del><ins>+
</ins><span class="cx">     // Find if we should use a specific voice based on the voiceURI in utterance.
</span><span class="cx">     // Otherwise, find the voice that matches the language. The Mac doesn't have a default voice per language, so the first
</span><span class="cx">     // one will have to do.
</span><del>-    
</del><ins>+
</ins><span class="cx">     WebCore::PlatformSpeechSynthesisVoice* utteranceVoice = utterance-&gt;voice();
</span><span class="cx">     // If no voice was specified, try to match by language.
</span><span class="cx">     if (!utteranceVoice &amp;&amp; !utterance-&gt;lang().isEmpty()) {
</span><span class="lines">@@ -109,7 +108,7 @@
</span><span class="cx">             }
</span><span class="cx">         }
</span><span class="cx">     }
</span><del>-    
</del><ins>+
</ins><span class="cx">     NSString *voiceURI = nil;
</span><span class="cx">     if (utteranceVoice)
</span><span class="cx">         voiceURI = utteranceVoice-&gt;voiceURI();
</span><span class="lines">@@ -124,14 +123,14 @@
</span><span class="cx">         // Reset the base pitch whenever we change voices.
</span><span class="cx">         updatePitch = YES;
</span><span class="cx">     }
</span><del>-    
</del><ins>+
</ins><span class="cx">     if (m_basePitch == 0 || updatePitch)
</span><del>-        [self updateBasePitchForSynthesizer];    
-    
</del><ins>+        [self updateBasePitchForSynthesizer];
+
</ins><span class="cx">     [m_synthesizer setObject:[NSNumber numberWithFloat:[self convertPitchToNSSpeechValue:utterance-&gt;pitch()]] forProperty:NSSpeechPitchBaseProperty error:nil];
</span><span class="cx">     [m_synthesizer setRate:[self convertRateToWPM:utterance-&gt;rate()]];
</span><span class="cx">     [m_synthesizer setVolume:utterance-&gt;volume()];
</span><del>-    
</del><ins>+
</ins><span class="cx">     m_utterance = utterance;
</span><span class="cx">     [m_synthesizer startSpeakingString:utterance-&gt;text()];
</span><span class="cx">     m_synthesizerObject-&gt;client()-&gt;didStartSpeaking(utterance);
</span><span class="lines">@@ -141,7 +140,7 @@
</span><span class="cx"> {
</span><span class="cx">     if (!m_utterance)
</span><span class="cx">         return;
</span><del>-    
</del><ins>+
</ins><span class="cx">     [m_synthesizer pauseSpeakingAtBoundary:NSSpeechImmediateBoundary];
</span><span class="cx">     m_synthesizerObject-&gt;client()-&gt;didPauseSpeaking(m_utterance);
</span><span class="cx"> }
</span><span class="lines">@@ -150,7 +149,7 @@
</span><span class="cx"> {
</span><span class="cx">     if (!m_utterance)
</span><span class="cx">         return;
</span><del>-    
</del><ins>+
</ins><span class="cx">     [m_synthesizer continueSpeaking];
</span><span class="cx">     m_synthesizerObject-&gt;client()-&gt;didResumeSpeaking(m_utterance);
</span><span class="cx"> }
</span><span class="lines">@@ -159,7 +158,7 @@
</span><span class="cx"> {
</span><span class="cx">     if (!m_utterance)
</span><span class="cx">         return;
</span><del>-    
</del><ins>+
</ins><span class="cx">     [m_synthesizer stopSpeakingAtBoundary:NSSpeechImmediateBoundary];
</span><span class="cx">     m_synthesizerObject-&gt;client()-&gt;speakingErrorOccurred(m_utterance);
</span><span class="cx">     m_utterance = 0;
</span><span class="lines">@@ -176,13 +175,13 @@
</span><span class="cx"> {
</span><span class="cx">     if (!m_utterance)
</span><span class="cx">         return;
</span><del>-    
</del><ins>+
</ins><span class="cx">     UNUSED_PARAM(sender);
</span><del>-    
</del><ins>+
</ins><span class="cx">     // Clear the m_utterance variable in case finish speaking kicks off a new speaking job immediately.
</span><span class="cx">     WebCore::PlatformSpeechSynthesisUtterance* utterance = m_utterance;
</span><span class="cx">     m_utterance = 0;
</span><del>-    
</del><ins>+
</ins><span class="cx">     if (finishedSpeaking)
</span><span class="cx">         m_synthesizerObject-&gt;client()-&gt;didFinishSpeaking(utterance);
</span><span class="cx">     else
</span><span class="lines">@@ -222,7 +221,7 @@
</span><span class="cx">     for (NSUInteger k = 0; k &lt; count; k++) {
</span><span class="cx">         NSString *voiceName = [availableVoices objectAtIndex:k];
</span><span class="cx">         NSDictionary *attributes = [NSSpeechSynthesizer attributesForVoice:voiceName];
</span><del>-        
</del><ins>+
</ins><span class="cx">         NSString *voiceURI = [attributes objectForKey:NSVoiceIdentifier];
</span><span class="cx">         NSString *name = [attributes objectForKey:NSVoiceName];
</span><span class="cx">         NSString *language = [attributes objectForKey:NSVoiceLocaleIdentifier];
</span><span class="lines">@@ -229,16 +228,16 @@
</span><span class="cx">         NSLocale *locale = [[NSLocale alloc] initWithLocaleIdentifier:language];
</span><span class="cx">         NSString *defaultVoiceURI = wkSpeechSynthesisGetDefaultVoiceIdentifierForLocale(locale);
</span><span class="cx">         [locale release];
</span><del>-        
</del><ins>+
</ins><span class="cx">         // Change to BCP-47 format as defined by spec.
</span><span class="cx">         language = [language stringByReplacingOccurrencesOfString:@&quot;_&quot; withString:@&quot;-&quot;];
</span><del>-        
</del><ins>+
</ins><span class="cx">         bool isDefault = [defaultVoiceURI isEqualToString:voiceURI];
</span><del>-        
</del><ins>+
</ins><span class="cx">         m_voiceList.append(PlatformSpeechSynthesisVoice::create(voiceURI, name, language, true, isDefault));
</span><span class="cx">     }
</span><span class="cx"> }
</span><del>-    
</del><ins>+
</ins><span class="cx"> void PlatformSpeechSynthesizer::pause()
</span><span class="cx"> {
</span><span class="cx">     [m_platformSpeechWrapper.get() pause];
</span><span class="lines">@@ -248,12 +247,12 @@
</span><span class="cx"> {
</span><span class="cx">     [m_platformSpeechWrapper.get() resume];
</span><span class="cx"> }
</span><del>-    
-void PlatformSpeechSynthesizer::speak(PassRefPtr&lt;PlatformSpeechSynthesisUtterance&gt; utterance)
</del><ins>+
+void PlatformSpeechSynthesizer::speak(RefPtr&lt;PlatformSpeechSynthesisUtterance&gt;&amp;&amp; utterance)
</ins><span class="cx"> {
</span><span class="cx">     if (!m_platformSpeechWrapper)
</span><span class="cx">         m_platformSpeechWrapper = adoptNS([[WebSpeechSynthesisWrapper alloc] initWithSpeechSynthesizer:this]);
</span><del>-    
</del><ins>+
</ins><span class="cx">     [m_platformSpeechWrapper.get() speakUtterance:utterance.get()];
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -261,7 +260,7 @@
</span><span class="cx"> {
</span><span class="cx">     [m_platformSpeechWrapper.get() cancel];
</span><span class="cx"> }
</span><del>-    
</del><ins>+
</ins><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(SPEECH_SYNTHESIS)
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformmacSerializedPlatformRepresentationMach"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/mac/SerializedPlatformRepresentationMac.h (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/mac/SerializedPlatformRepresentationMac.h        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebCore/platform/mac/SerializedPlatformRepresentationMac.h        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx">     static Ref&lt;SerializedPlatformRepresentation&gt; create(id);
</span><span class="cx"> 
</span><span class="cx">     JSC::JSValue deserialize(JSC::ExecState*) const override;
</span><del>-    PassRefPtr&lt;ArrayBuffer&gt; data() const override;
</del><ins>+    RefPtr&lt;ArrayBuffer&gt; data() const override;
</ins><span class="cx"> 
</span><span class="cx">     bool isEqual(const SerializedPlatformRepresentation&amp;) const override;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformmacSerializedPlatformRepresentationMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/mac/SerializedPlatformRepresentationMac.mm (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/mac/SerializedPlatformRepresentationMac.mm        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebCore/platform/mac/SerializedPlatformRepresentationMac.mm        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -72,7 +72,7 @@
</span><span class="cx">     return adoptRef(*new SerializedPlatformRepresentationMac(nativeValue));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PassRefPtr&lt;ArrayBuffer&gt; SerializedPlatformRepresentationMac::data() const
</del><ins>+RefPtr&lt;ArrayBuffer&gt; SerializedPlatformRepresentationMac::data() const
</ins><span class="cx"> {
</span><span class="cx">     return nullptr;
</span><span class="cx"> }
</span><span class="lines">@@ -135,10 +135,10 @@
</span><span class="cx"> 
</span><span class="cx">     if ([value isKindOfClass:[NSData class]])
</span><span class="cx">         return jsValueWithDataInContext(value, context);
</span><del>-    
</del><ins>+
</ins><span class="cx">     if ([value isKindOfClass:[AVMetadataItem class]])
</span><span class="cx">         return jsValueWithAVMetadataItemInContext(value, context);
</span><del>-    
</del><ins>+
</ins><span class="cx">     return nil;
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformmockPlatformSpeechSynthesizerMockcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/mock/PlatformSpeechSynthesizerMock.cpp (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/mock/PlatformSpeechSynthesizerMock.cpp        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebCore/platform/mock/PlatformSpeechSynthesizerMock.cpp        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -36,7 +36,7 @@
</span><span class="cx">     , m_speakingFinishedTimer(*this, &amp;PlatformSpeechSynthesizerMock::speakingFinished)
</span><span class="cx"> {
</span><span class="cx"> }
</span><del>-    
</del><ins>+
</ins><span class="cx"> PlatformSpeechSynthesizerMock::~PlatformSpeechSynthesizerMock()
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="lines">@@ -46,10 +46,10 @@
</span><span class="cx">     ASSERT(m_utterance.get());
</span><span class="cx">     RefPtr&lt;PlatformSpeechSynthesisUtterance&gt; protect(m_utterance);
</span><span class="cx">     m_utterance = nullptr;
</span><del>-    
</del><ins>+
</ins><span class="cx">     client()-&gt;didFinishSpeaking(protect);
</span><span class="cx"> }
</span><del>-    
</del><ins>+
</ins><span class="cx"> void PlatformSpeechSynthesizerMock::initializeVoiceList()
</span><span class="cx"> {
</span><span class="cx">     m_voiceList.append(PlatformSpeechSynthesisVoice::create(String(&quot;mock.voice.bruce&quot;), String(&quot;bruce&quot;), String(&quot;en-US&quot;), true, true));
</span><span class="lines">@@ -57,25 +57,25 @@
</span><span class="cx">     m_voiceList.append(PlatformSpeechSynthesisVoice::create(String(&quot;mock.voice.logan&quot;), String(&quot;logan&quot;), String(&quot;fr-CA&quot;), true, true));
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void PlatformSpeechSynthesizerMock::speak(PassRefPtr&lt;PlatformSpeechSynthesisUtterance&gt; utterance)
</del><ins>+void PlatformSpeechSynthesizerMock::speak(RefPtr&lt;PlatformSpeechSynthesisUtterance&gt;&amp;&amp; utterance)
</ins><span class="cx"> {
</span><span class="cx">     ASSERT(!m_utterance);
</span><del>-    m_utterance = utterance;
</del><ins>+    m_utterance = WTFMove(utterance);
</ins><span class="cx">     client()-&gt;didStartSpeaking(m_utterance);
</span><del>-    
</del><ins>+
</ins><span class="cx">     // Fire a fake word and then sentence boundary event.
</span><span class="cx">     client()-&gt;boundaryEventOccurred(m_utterance, SpeechWordBoundary, 0);
</span><span class="cx">     client()-&gt;boundaryEventOccurred(m_utterance, SpeechSentenceBoundary, m_utterance-&gt;text().length());
</span><del>-    
</del><ins>+
</ins><span class="cx">     // Give the fake speech job some time so that pause and other functions have time to be called.
</span><span class="cx">     m_speakingFinishedTimer.startOneShot(.1);
</span><span class="cx"> }
</span><del>-    
</del><ins>+
</ins><span class="cx"> void PlatformSpeechSynthesizerMock::cancel()
</span><span class="cx"> {
</span><span class="cx">     if (!m_utterance)
</span><span class="cx">         return;
</span><del>-    
</del><ins>+
</ins><span class="cx">     m_speakingFinishedTimer.stop();
</span><span class="cx">     client()-&gt;speakingErrorOccurred(m_utterance);
</span><span class="cx">     m_utterance = nullptr;
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformmockPlatformSpeechSynthesizerMockh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/mock/PlatformSpeechSynthesizerMock.h (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/mock/PlatformSpeechSynthesizerMock.h        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebCore/platform/mock/PlatformSpeechSynthesizerMock.h        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -32,25 +32,25 @@
</span><span class="cx"> #include &quot;Timer.h&quot;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><del>-    
</del><ins>+
</ins><span class="cx"> class PlatformSpeechSynthesizerMock : public PlatformSpeechSynthesizer {
</span><span class="cx"> public:
</span><span class="cx">     explicit PlatformSpeechSynthesizerMock(PlatformSpeechSynthesizerClient*);
</span><span class="cx"> 
</span><span class="cx">     virtual ~PlatformSpeechSynthesizerMock();
</span><del>-    virtual void speak(PassRefPtr&lt;PlatformSpeechSynthesisUtterance&gt;);
</del><ins>+    virtual void speak(RefPtr&lt;PlatformSpeechSynthesisUtterance&gt;&amp;&amp;);
</ins><span class="cx">     virtual void pause();
</span><span class="cx">     virtual void resume();
</span><span class="cx">     virtual void cancel();
</span><del>-    
</del><ins>+
</ins><span class="cx"> private:
</span><span class="cx">     virtual void initializeVoiceList();
</span><span class="cx">     void speakingFinished();
</span><del>-    
</del><ins>+
</ins><span class="cx">     Timer m_speakingFinishedTimer;
</span><span class="cx">     RefPtr&lt;PlatformSpeechSynthesisUtterance&gt; m_utterance;
</span><span class="cx"> };
</span><del>-    
</del><ins>+
</ins><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(SPEECH_SYNTHESIS)
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebKit/mac/ChangeLog        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2016-07-11  Gyuyoung Kim  &lt;gyuyoung.kim@webkit.org&gt;
+
+        Purge PassRefPtr in platform/efl and platform/mac 
+        https://bugs.webkit.org/show_bug.cgi?id=159548
+
+        Reviewed by Alex Christensen.
+
+        Remove all use of PassRefPtr and clean up unnecessary tabs and spaces.
+
+        * WebCoreSupport/WebPlatformStrategies.h:
+        * WebCoreSupport/WebPlatformStrategies.mm:
+        (WebPlatformStrategies::setBufferForType):
+
</ins><span class="cx"> 2016-07-11  Enrica Casucci  &lt;enrica@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Add synthetic click origin to WKNavigationAction.
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebCoreSupportWebPlatformStrategiesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebPlatformStrategies.h (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebCoreSupport/WebPlatformStrategies.h        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebPlatformStrategies.h        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -91,7 +91,7 @@
</span><span class="cx">     long addTypes(const Vector&lt;String&gt;&amp; pasteboardTypes, const String&amp; pasteboardName) override;
</span><span class="cx">     long setTypes(const Vector&lt;String&gt;&amp; pasteboardTypes, const String&amp; pasteboardName) override;
</span><span class="cx">     long copy(const String&amp; fromPasteboard, const String&amp; toPasteboard) override;
</span><del>-    long setBufferForType(PassRefPtr&lt;WebCore::SharedBuffer&gt;, const String&amp; pasteboardType, const String&amp; pasteboardName) override;
</del><ins>+    long setBufferForType(WebCore::SharedBuffer*, const String&amp; pasteboardType, const String&amp; pasteboardName) override;
</ins><span class="cx">     long setPathnamesForType(const Vector&lt;String&gt;&amp;, const String&amp; pasteboardType, const String&amp; pasteboardName) override;
</span><span class="cx">     long setStringForType(const String&amp;, const String&amp; pasteboardType, const String&amp; pasteboardName) override;
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebCoreSupportWebPlatformStrategiesmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebPlatformStrategies.mm (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebCoreSupport/WebPlatformStrategies.mm        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebPlatformStrategies.mm        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -216,7 +216,7 @@
</span><span class="cx">     return PlatformPasteboard(pasteboardName).setTypes(pasteboardTypes);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-long WebPlatformStrategies::setBufferForType(PassRefPtr&lt;SharedBuffer&gt; buffer, const String&amp; pasteboardType, const String&amp; pasteboardName)
</del><ins>+long WebPlatformStrategies::setBufferForType(SharedBuffer* buffer, const String&amp; pasteboardType, const String&amp; pasteboardName)
</ins><span class="cx"> {
</span><span class="cx">     return PlatformPasteboard(pasteboardName).setBufferForType(buffer, pasteboardType);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebKit2/ChangeLog        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -1,3 +1,19 @@
</span><ins>+2016-07-11  Gyuyoung Kim  &lt;gyuyoung.kim@webkit.org&gt;
+
+        Purge PassRefPtr in platform/efl and platform/mac 
+        https://bugs.webkit.org/show_bug.cgi?id=159548
+
+        Reviewed by Alex Christensen.
+
+        Remove all use of PassRefPtr and clean up unnecessary tabs and spaces.
+        WebKit2 codes are also changed because of setBufferForType()'s modification.
+
+        * UIProcess/Cocoa/WebPasteboardProxyCocoa.mm:
+        (WebKit::WebPasteboardProxy::setPasteboardBufferForType):
+        * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+        (WebKit::WebPlatformStrategies::setBufferForType):
+        * WebProcess/WebCoreSupport/WebPlatformStrategies.h:
+
</ins><span class="cx"> 2016-07-11  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [WK2][iOS] Intermittent crash in [UIApplication beginBackgroundTaskWithName] expiration handler
</span></span></pre></div>
<a id="trunkSourceWebKit2UIProcessCocoaWebPasteboardProxyCocoamm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/UIProcess/Cocoa/WebPasteboardProxyCocoa.mm (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/UIProcess/Cocoa/WebPasteboardProxyCocoa.mm        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebKit2/UIProcess/Cocoa/WebPasteboardProxyCocoa.mm        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -116,7 +116,7 @@
</span><span class="cx">     }
</span><span class="cx">     RefPtr&lt;SharedMemory&gt; sharedMemoryBuffer = SharedMemory::map(handle, SharedMemory::Protection::ReadOnly);
</span><span class="cx">     RefPtr&lt;SharedBuffer&gt; buffer = SharedBuffer::create(static_cast&lt;unsigned char *&gt;(sharedMemoryBuffer-&gt;data()), size);
</span><del>-    newChangeCount = PlatformPasteboard(pasteboardName).setBufferForType(buffer, pasteboardType);
</del><ins>+    newChangeCount = PlatformPasteboard(pasteboardName).setBufferForType(buffer.get(), pasteboardType);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebCoreSupportWebPlatformStrategiescpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.cpp        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -452,7 +452,7 @@
</span><span class="cx">     return newChangeCount;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-long WebPlatformStrategies::setBufferForType(PassRefPtr&lt;SharedBuffer&gt; buffer, const String&amp; pasteboardType, const String&amp; pasteboardName)
</del><ins>+long WebPlatformStrategies::setBufferForType(SharedBuffer* buffer, const String&amp; pasteboardType, const String&amp; pasteboardName)
</ins><span class="cx"> {
</span><span class="cx">     SharedMemory::Handle handle;
</span><span class="cx">     if (buffer) {
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebCoreSupportWebPlatformStrategiesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.h (203108 => 203109)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.h        2016-07-12 05:59:55 UTC (rev 203108)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebPlatformStrategies.h        2016-07-12 06:24:30 UTC (rev 203109)
</span><span class="lines">@@ -98,7 +98,7 @@
</span><span class="cx">     long addTypes(const Vector&lt;String&gt;&amp; pasteboardTypes, const String&amp; pasteboardName) override;
</span><span class="cx">     long setTypes(const Vector&lt;String&gt;&amp; pasteboardTypes, const String&amp; pasteboardName) override;
</span><span class="cx">     long copy(const String&amp; fromPasteboard, const String&amp; toPasteboard) override;
</span><del>-    long setBufferForType(PassRefPtr&lt;WebCore::SharedBuffer&gt;, const String&amp; pasteboardType, const String&amp; pasteboardName) override;
</del><ins>+    long setBufferForType(WebCore::SharedBuffer*, const String&amp; pasteboardType, const String&amp; pasteboardName) override;
</ins><span class="cx">     long setPathnamesForType(const Vector&lt;String&gt;&amp;, const String&amp; pasteboardType, const String&amp; pasteboardName) override;
</span><span class="cx">     long setStringForType(const String&amp;, const String&amp; pasteboardType, const String&amp; pasteboardName) override;
</span><span class="cx"> #endif
</span></span></pre>
</div>
</div>

</body>
</html>