<!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>[183746] 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/183746">183746</a></dd>
<dt>Author</dt> <dd>zandobersek@gmail.com</dd>
<dt>Date</dt> <dd>2015-05-04 08:35:25 -0700 (Mon, 04 May 2015)</dd>
</dl>
<h3>Log Message</h3>
<pre>[WTF] Remove Functional.h inclusions
https://bugs.webkit.org/show_bug.cgi?id=144400
Reviewed by Darin Adler.
Source/WebCore:
Remove unnecessary inclusions of the <wtf/Functional.h> header in WebCore.
* Modules/mediastream/MediaStreamTrack.cpp:
* Modules/mediastream/MediaStreamTrackSourcesRequest.cpp:
* Modules/mediastream/UserMediaRequest.cpp:
* page/scrolling/ScrollingTree.h:
* page/scrolling/ios/ScrollingCoordinatorIOS.mm:
* page/scrolling/mac/ScrollingCoordinatorMac.mm:
* platform/MemoryPressureHandler.cpp:
* platform/UserActivity.h: Include the <objc/objc.h> header that was previously
indirectly included through Functional.h.
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
* platform/mac/SoftLinking.h: Unconditionally include the <objc/runtime.h> header
that was previously included for the Mac port through Functional.h.
Source/WebKit2:
Remove unnecessary inclusions of the <wtf/Functional.h> header in WebKit2.
* Platform/IPC/unix/ConnectionUnix.cpp:
* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm: Import the <objc/runtime.h>
header that was previously indirectly included through the Functional.h header.
* WebProcess/WebPage/DrawingArea.cpp:
Source/WTF:
Remove most of the Functional.h header inclusions. The header is preserved
since it's still used by older versions of Safari, and for the callOnMainThread()
stub in DeprecatedSymbolsUsedBySafari.mm.
* wtf/MainThread.cpp:
* wtf/RunLoop.h:
* wtf/WorkQueue.cpp:
* wtf/WorkQueue.h:
* wtf/efl/DispatchQueueEfl.h:
* wtf/efl/DispatchQueueWorkItemEfl.h:</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWTFChangeLog">trunk/Source/WTF/ChangeLog</a></li>
<li><a href="#trunkSourceWTFwtfMainThreadcpp">trunk/Source/WTF/wtf/MainThread.cpp</a></li>
<li><a href="#trunkSourceWTFwtfRunLooph">trunk/Source/WTF/wtf/RunLoop.h</a></li>
<li><a href="#trunkSourceWTFwtfWorkQueuecpp">trunk/Source/WTF/wtf/WorkQueue.cpp</a></li>
<li><a href="#trunkSourceWTFwtfWorkQueueh">trunk/Source/WTF/wtf/WorkQueue.h</a></li>
<li><a href="#trunkSourceWTFwtfeflDispatchQueueEflh">trunk/Source/WTF/wtf/efl/DispatchQueueEfl.h</a></li>
<li><a href="#trunkSourceWTFwtfeflDispatchQueueWorkItemEflh">trunk/Source/WTF/wtf/efl/DispatchQueueWorkItemEfl.h</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamMediaStreamTrackcpp">trunk/Source/WebCore/Modules/mediastream/MediaStreamTrack.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamMediaStreamTrackSourcesRequestcpp">trunk/Source/WebCore/Modules/mediastream/MediaStreamTrackSourcesRequest.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesmediastreamUserMediaRequestcpp">trunk/Source/WebCore/Modules/mediastream/UserMediaRequest.cpp</a></li>
<li><a href="#trunkSourceWebCorepagescrollingScrollingTreeh">trunk/Source/WebCore/page/scrolling/ScrollingTree.h</a></li>
<li><a href="#trunkSourceWebCorepagescrollingiosScrollingCoordinatorIOSmm">trunk/Source/WebCore/page/scrolling/ios/ScrollingCoordinatorIOS.mm</a></li>
<li><a href="#trunkSourceWebCorepagescrollingmacScrollingCoordinatorMacmm">trunk/Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformMemoryPressureHandlercpp">trunk/Source/WebCore/platform/MemoryPressureHandler.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformUserActivityh">trunk/Source/WebCore/platform/UserActivity.h</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicsavfoundationMediaPlayerPrivateAVFoundationh">trunk/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicsavfoundationobjcMediaPlayerPrivateMediaSourceAVFObjCmm">trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm</a></li>
<li><a href="#trunkSourceWebCoreplatformmacSoftLinkingh">trunk/Source/WebCore/platform/mac/SoftLinking.h</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2PlatformIPCunixConnectionUnixcpp">trunk/Source/WebKit2/Platform/IPC/unix/ConnectionUnix.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessPluginsNetscapemacNetscapePluginMacmm">trunk/Source/WebKit2/WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageDrawingAreacpp">trunk/Source/WebKit2/WebProcess/WebPage/DrawingArea.cpp</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWTFChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/ChangeLog (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/ChangeLog        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WTF/ChangeLog        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -1,3 +1,21 @@
</span><ins>+2015-05-04 Zan Dobersek <zdobersek@igalia.com>
+
+ [WTF] Remove Functional.h inclusions
+ https://bugs.webkit.org/show_bug.cgi?id=144400
+
+ Reviewed by Darin Adler.
+
+ Remove most of the Functional.h header inclusions. The header is preserved
+ since it's still used by older versions of Safari, and for the callOnMainThread()
+ stub in DeprecatedSymbolsUsedBySafari.mm.
+
+ * wtf/MainThread.cpp:
+ * wtf/RunLoop.h:
+ * wtf/WorkQueue.cpp:
+ * wtf/WorkQueue.h:
+ * wtf/efl/DispatchQueueEfl.h:
+ * wtf/efl/DispatchQueueWorkItemEfl.h:
+
</ins><span class="cx"> 2015-05-02 Commit Queue <commit-queue@webkit.org>
</span><span class="cx">
</span><span class="cx"> Unreviewed, rolling out r183722.
</span></span></pre></div>
<a id="trunkSourceWTFwtfMainThreadcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/MainThread.cpp (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/MainThread.cpp        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WTF/wtf/MainThread.cpp        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -31,8 +31,8 @@
</span><span class="cx">
</span><span class="cx"> #include "CurrentTime.h"
</span><span class="cx"> #include "Deque.h"
</span><del>-#include "Functional.h"
</del><span class="cx"> #include "StdLibExtras.h"
</span><ins>+#include "Threading.h"
</ins><span class="cx"> #include <mutex>
</span><span class="cx"> #include <wtf/NeverDestroyed.h>
</span><span class="cx"> #include <wtf/ThreadSpecific.h>
</span></span></pre></div>
<a id="trunkSourceWTFwtfRunLooph"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/RunLoop.h (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/RunLoop.h        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WTF/wtf/RunLoop.h        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -31,7 +31,6 @@
</span><span class="cx"> #include <wtf/Deque.h>
</span><span class="cx"> #include <wtf/Forward.h>
</span><span class="cx"> #include <wtf/FunctionDispatcher.h>
</span><del>-#include <wtf/Functional.h>
</del><span class="cx"> #include <wtf/HashMap.h>
</span><span class="cx"> #include <wtf/RetainPtr.h>
</span><span class="cx"> #include <wtf/Threading.h>
</span></span></pre></div>
<a id="trunkSourceWTFwtfWorkQueuecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/WorkQueue.cpp (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/WorkQueue.cpp        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WTF/wtf/WorkQueue.cpp        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -26,6 +26,8 @@
</span><span class="cx"> #include "config.h"
</span><span class="cx"> #include "WorkQueue.h"
</span><span class="cx">
</span><ins>+#include "Ref.h"
+
</ins><span class="cx"> namespace WTF {
</span><span class="cx">
</span><span class="cx"> Ref<WorkQueue> WorkQueue::create(const char* name, Type type, QOS qos)
</span></span></pre></div>
<a id="trunkSourceWTFwtfWorkQueueh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/WorkQueue.h (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/WorkQueue.h        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WTF/wtf/WorkQueue.h        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -31,7 +31,6 @@
</span><span class="cx"> #include <functional>
</span><span class="cx"> #include <wtf/Forward.h>
</span><span class="cx"> #include <wtf/FunctionDispatcher.h>
</span><del>-#include <wtf/Functional.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="trunkSourceWTFwtfeflDispatchQueueEflh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/efl/DispatchQueueEfl.h (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/efl/DispatchQueueEfl.h        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WTF/wtf/efl/DispatchQueueEfl.h        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -26,9 +26,10 @@
</span><span class="cx"> #ifndef DispatchQueueEfl_h
</span><span class="cx"> #define DispatchQueueEfl_h
</span><span class="cx">
</span><ins>+#include <functional>
</ins><span class="cx"> #include <time.h>
</span><del>-#include <wtf/Functional.h>
-#include <wtf/RefCounted.h>
</del><ins>+#include <wtf/ThreadSafeRefCounted.h>
+#include <wtf/ThreadingPrimitives.h>
</ins><span class="cx"> #include <wtf/Vector.h>
</span><span class="cx">
</span><span class="cx"> class TimerWorkItem;
</span></span></pre></div>
<a id="trunkSourceWTFwtfeflDispatchQueueWorkItemEflh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/efl/DispatchQueueWorkItemEfl.h (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/efl/DispatchQueueWorkItemEfl.h        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WTF/wtf/efl/DispatchQueueWorkItemEfl.h        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -28,7 +28,6 @@
</span><span class="cx">
</span><span class="cx"> #include <wtf/Assertions.h>
</span><span class="cx"> #include <wtf/CurrentTime.h>
</span><del>-#include <wtf/Functional.h>
</del><span class="cx"> #include <wtf/RefCounted.h>
</span><span class="cx"> #include <wtf/WorkQueue.h>
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WebCore/ChangeLog        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -1,3 +1,26 @@
</span><ins>+2015-05-04 Zan Dobersek <zdobersek@igalia.com>
+
+ [WTF] Remove Functional.h inclusions
+ https://bugs.webkit.org/show_bug.cgi?id=144400
+
+ Reviewed by Darin Adler.
+
+ Remove unnecessary inclusions of the <wtf/Functional.h> header in WebCore.
+
+ * Modules/mediastream/MediaStreamTrack.cpp:
+ * Modules/mediastream/MediaStreamTrackSourcesRequest.cpp:
+ * Modules/mediastream/UserMediaRequest.cpp:
+ * page/scrolling/ScrollingTree.h:
+ * page/scrolling/ios/ScrollingCoordinatorIOS.mm:
+ * page/scrolling/mac/ScrollingCoordinatorMac.mm:
+ * platform/MemoryPressureHandler.cpp:
+ * platform/UserActivity.h: Include the <objc/objc.h> header that was previously
+ indirectly included through Functional.h.
+ * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
+ * platform/mac/SoftLinking.h: Unconditionally include the <objc/runtime.h> header
+ that was previously included for the Mac port through Functional.h.
+
</ins><span class="cx"> 2015-05-04 Xabier Rodriguez Calvar <calvaris@igalia.com> and Youenn Fablet <youenn.fablet@crf.canon.fr>
</span><span class="cx">
</span><span class="cx"> [Streams API] Refactor ReadableJSStream and ReadableStreamJSSource
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamMediaStreamTrackcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/MediaStreamTrack.cpp (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/MediaStreamTrack.cpp        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WebCore/Modules/mediastream/MediaStreamTrack.cpp        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -45,7 +45,6 @@
</span><span class="cx"> #include "MediaTrackConstraints.h"
</span><span class="cx"> #include "NotImplemented.h"
</span><span class="cx"> #include "RealtimeMediaSourceCenter.h"
</span><del>-#include <wtf/Functional.h>
</del><span class="cx"> #include <wtf/NeverDestroyed.h>
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamMediaStreamTrackSourcesRequestcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/MediaStreamTrackSourcesRequest.cpp (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/MediaStreamTrackSourcesRequest.cpp        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WebCore/Modules/mediastream/MediaStreamTrackSourcesRequest.cpp        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -33,7 +33,6 @@
</span><span class="cx"> #include "ScriptExecutionContext.h"
</span><span class="cx"> #include "SecurityOrigin.h"
</span><span class="cx"> #include "SourceInfo.h"
</span><del>-#include <wtf/Functional.h>
</del><span class="cx"> #include <wtf/MainThread.h>
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesmediastreamUserMediaRequestcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/mediastream/UserMediaRequest.cpp (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/mediastream/UserMediaRequest.cpp        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WebCore/Modules/mediastream/UserMediaRequest.cpp        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -49,7 +49,6 @@
</span><span class="cx"> #include "RealtimeMediaSourceCenter.h"
</span><span class="cx"> #include "SecurityOrigin.h"
</span><span class="cx"> #include "UserMediaController.h"
</span><del>-#include <wtf/Functional.h>
</del><span class="cx"> #include <wtf/MainThread.h>
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebCorepagescrollingScrollingTreeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/scrolling/ScrollingTree.h (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/scrolling/ScrollingTree.h        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WebCore/page/scrolling/ScrollingTree.h        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -32,7 +32,6 @@
</span><span class="cx"> #include "Region.h"
</span><span class="cx"> #include "ScrollingCoordinator.h"
</span><span class="cx"> #include "WheelEventTestTrigger.h"
</span><del>-#include <wtf/Functional.h>
</del><span class="cx"> #include <wtf/HashMap.h>
</span><span class="cx"> #include <wtf/ThreadSafeRefCounted.h>
</span><span class="cx"> #include <wtf/TypeCasts.h>
</span></span></pre></div>
<a id="trunkSourceWebCorepagescrollingiosScrollingCoordinatorIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/scrolling/ios/ScrollingCoordinatorIOS.mm (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/scrolling/ios/ScrollingCoordinatorIOS.mm        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WebCore/page/scrolling/ios/ScrollingCoordinatorIOS.mm        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -39,7 +39,6 @@
</span><span class="cx"> #include "ScrollingTreeFrameScrollingNodeIOS.h"
</span><span class="cx"> #include "ScrollingTreeStickyNode.h"
</span><span class="cx"> #include "ScrollingTreeIOS.h"
</span><del>-#include <wtf/Functional.h>
</del><span class="cx"> #include <wtf/MainThread.h>
</span><span class="cx"> #include <wtf/PassRefPtr.h>
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorepagescrollingmacScrollingCoordinatorMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.mm (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.mm        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.mm        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -41,7 +41,6 @@
</span><span class="cx"> #include "ScrollingTreeMac.h"
</span><span class="cx"> #include "ScrollingTreeStickyNode.h"
</span><span class="cx"> #include "TiledBacking.h"
</span><del>-#include <wtf/Functional.h>
</del><span class="cx"> #include <wtf/MainThread.h>
</span><span class="cx"> #include <wtf/PassRefPtr.h>
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformMemoryPressureHandlercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/MemoryPressureHandler.cpp (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/MemoryPressureHandler.cpp        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WebCore/platform/MemoryPressureHandler.cpp        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -39,7 +39,6 @@
</span><span class="cx"> #include "WorkerThread.h"
</span><span class="cx"> #include <wtf/CurrentTime.h>
</span><span class="cx"> #include <wtf/FastMalloc.h>
</span><del>-#include <wtf/Functional.h>
</del><span class="cx"> #include <wtf/StdLibExtras.h>
</span><span class="cx">
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformUserActivityh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/UserActivity.h (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/UserActivity.h        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WebCore/platform/UserActivity.h        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -29,6 +29,7 @@
</span><span class="cx"> #include "HysteresisActivity.h"
</span><span class="cx">
</span><span class="cx"> #if HAVE(NS_ACTIVITY)
</span><ins>+#include <objc/objc.h>
</ins><span class="cx"> #include <wtf/RetainPtr.h>
</span><span class="cx"> #include <wtf/RunLoop.h>
</span><span class="cx"> OBJC_CLASS NSString;
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicsavfoundationMediaPlayerPrivateAVFoundationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -33,7 +33,6 @@
</span><span class="cx"> #include "MediaPlayerPrivate.h"
</span><span class="cx"> #include "Timer.h"
</span><span class="cx"> #include <functional>
</span><del>-#include <wtf/Functional.h>
</del><span class="cx"> #include <wtf/RetainPtr.h>
</span><span class="cx"> #include <wtf/WeakPtr.h>
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicsavfoundationobjcMediaPlayerPrivateMediaSourceAVFObjCmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -40,7 +40,6 @@
</span><span class="cx"> #import <AVFoundation/AVTime.h>
</span><span class="cx"> #import <QuartzCore/CALayer.h>
</span><span class="cx"> #import <objc_runtime.h>
</span><del>-#import <wtf/Functional.h>
</del><span class="cx"> #import <wtf/MainThread.h>
</span><span class="cx"> #import <wtf/NeverDestroyed.h>
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformmacSoftLinkingh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/mac/SoftLinking.h (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/mac/SoftLinking.h        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WebCore/platform/mac/SoftLinking.h        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -27,10 +27,7 @@
</span><span class="cx">
</span><span class="cx"> #import <wtf/Assertions.h>
</span><span class="cx"> #import <dlfcn.h>
</span><del>-
-#if PLATFORM(IOS)
</del><span class="cx"> #import <objc/runtime.h>
</span><del>-#endif
</del><span class="cx">
</span><span class="cx"> #pragma mark - Soft-link macros for use within a single source file
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WebKit2/ChangeLog        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -1,3 +1,17 @@
</span><ins>+2015-05-04 Zan Dobersek <zdobersek@igalia.com>
+
+ [WTF] Remove Functional.h inclusions
+ https://bugs.webkit.org/show_bug.cgi?id=144400
+
+ Reviewed by Darin Adler.
+
+ Remove unnecessary inclusions of the <wtf/Functional.h> header in WebKit2.
+
+ * Platform/IPC/unix/ConnectionUnix.cpp:
+ * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm: Import the <objc/runtime.h>
+ header that was previously indirectly included through the Functional.h header.
+ * WebProcess/WebPage/DrawingArea.cpp:
+
</ins><span class="cx"> 2015-05-04 Csaba Osztrogonác <ossy@webkit.org>
</span><span class="cx">
</span><span class="cx"> [ARM] Don't compare unsigned chars to EOF (-1)
</span></span></pre></div>
<a id="trunkSourceWebKit2PlatformIPCunixConnectionUnixcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Platform/IPC/unix/ConnectionUnix.cpp (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Platform/IPC/unix/ConnectionUnix.cpp        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WebKit2/Platform/IPC/unix/ConnectionUnix.cpp        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -36,7 +36,6 @@
</span><span class="cx"> #include <fcntl.h>
</span><span class="cx"> #include <poll.h>
</span><span class="cx"> #include <wtf/Assertions.h>
</span><del>-#include <wtf/Functional.h>
</del><span class="cx"> #include <wtf/StdLibExtras.h>
</span><span class="cx"> #include <wtf/UniStdExtras.h>
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessPluginsNetscapemacNetscapePluginMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WebKit2/WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -37,6 +37,7 @@
</span><span class="cx"> #import <WebCore/MachSendRight.h>
</span><span class="cx"> #import <WebCore/NotImplemented.h>
</span><span class="cx"> #import <WebKitSystemInterface.h>
</span><ins>+#import <objc/runtime.h>
</ins><span class="cx"> #import <wtf/NeverDestroyed.h>
</span><span class="cx"> #import <wtf/text/StringView.h>
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageDrawingAreacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/DrawingArea.cpp (183745 => 183746)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/DrawingArea.cpp        2015-05-04 15:20:41 UTC (rev 183745)
+++ trunk/Source/WebKit2/WebProcess/WebPage/DrawingArea.cpp        2015-05-04 15:35:25 UTC (rev 183746)
</span><span class="lines">@@ -32,7 +32,6 @@
</span><span class="cx"> #include "WebProcess.h"
</span><span class="cx"> #include <WebCore/DisplayRefreshMonitor.h>
</span><span class="cx"> #include <WebCore/TransformationMatrix.h>
</span><del>-#include <wtf/Functional.h>
</del><span class="cx">
</span><span class="cx"> // Subclasses
</span><span class="cx"> #if PLATFORM(COCOA)
</span></span></pre>
</div>
</div>
</body>
</html>