summarylogtreecommitdiffstats
path: root/0005-fix-bind-in-webkit2.patch
blob: 4bd8327afbb582b06d8e1646b54b182e68f52eab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 04ec167908b9ce7adbd1c765525e8b82011a3de2 Mon Sep 17 00:00:00 2001
From: "aur@manjaro" <aur@manjaro>
Date: Fri, 19 Aug 2016 09:13:37 +0200
Subject: [PATCH] fix bind in webkit2

---
 qtwebkit/Source/WebKit2/UIProcess/WebProcessProxy.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/qtwebkit/Source/WebKit2/UIProcess/WebProcessProxy.cpp b/qtwebkit/Source/WebKit2/UIProcess/WebProcessProxy.cpp
index 6ca003a..a765303 100644
--- a/qtwebkit/Source/WebKit2/UIProcess/WebProcessProxy.cpp
+++ b/qtwebkit/Source/WebKit2/UIProcess/WebProcessProxy.cpp
@@ -377,12 +377,12 @@ void WebProcessProxy::handleGetPlugins(uint64_t requestID, bool refresh)
 
     // NOTE: We have to pass the PluginInfo vector to the secondary thread via a pointer as otherwise
     //       we'd end up with a deref() race on all the WTF::Strings it contains.
-    RunLoop::main()->dispatch(bind(&WebProcessProxy::sendDidGetPlugins, this, requestID, pluginInfos.release()));
+    RunLoop::main()->dispatch(WTF::bind(&WebProcessProxy::sendDidGetPlugins, this, requestID, pluginInfos.release()));
 }
 
 void WebProcessProxy::getPlugins(CoreIPC::Connection*, uint64_t requestID, bool refresh)
 {
-    pluginWorkQueue().dispatch(bind(&WebProcessProxy::handleGetPlugins, this, requestID, refresh));
+    pluginWorkQueue().dispatch(WTF::bind(&WebProcessProxy::handleGetPlugins, this, requestID, refresh));
 }
 
 void WebProcessProxy::getPluginPath(const String& mimeType, const String& urlString, String& pluginPath, uint32_t& pluginLoadPolicy)
-- 
2.9.2