summarylogtreecommitdiffstats
path: root/0005-fix-bind-in-webkit2.patch
diff options
context:
space:
mode:
Diffstat (limited to '0005-fix-bind-in-webkit2.patch')
-rw-r--r--0005-fix-bind-in-webkit2.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/0005-fix-bind-in-webkit2.patch b/0005-fix-bind-in-webkit2.patch
new file mode 100644
index 00000000000..4bd8327afbb
--- /dev/null
+++ b/0005-fix-bind-in-webkit2.patch
@@ -0,0 +1,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
+