MFH: r493343

www/firefox: add one more Wayland+WebRender fix

Obtained from:	 upstream (Firefox 67)
Approved by:	ports-secteam blanket (nop on X11, simplify next update)
This commit is contained in:
Jan Beich 2019-02-19 00:34:54 +00:00
parent bd8e3d63f7
commit 1aba22259a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q1/; revision=493344
2 changed files with 32 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= firefox
DISTVERSION= 65.0.1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \

View File

@ -0,0 +1,31 @@
commit ba954951557e
Author: sotaro <sotaro.ikeda.g@gmail.com>
Date: Mon Feb 18 09:15:30 2019 +0000
Bug 1527556 - Change MAX_DISPLAY_CONNECTIONS to 3 r=stransky
nsWaylandDisplay needs to be allocated for each calling thread(main thread, compositor thread and render thread)
Differential Revision: https://phabricator.services.mozilla.com/D20118
--HG--
extra : moz-landing-system : lando
---
widget/gtk/nsWaylandDisplay.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git widget/gtk/nsWaylandDisplay.cpp widget/gtk/nsWaylandDisplay.cpp
index 4c2804be2831..ac01e1f50347 100644
--- widget/gtk/nsWaylandDisplay.cpp
+++ widget/gtk/nsWaylandDisplay.cpp
@@ -14,7 +14,9 @@
namespace mozilla {
namespace widget {
-#define MAX_DISPLAY_CONNECTIONS 2
+// nsWaylandDisplay needs to be created for each calling thread(main thread,
+// compositor thread and render thread)
+#define MAX_DISPLAY_CONNECTIONS 3
static nsWaylandDisplay *gWaylandDisplays[MAX_DISPLAY_CONNECTIONS];
static StaticMutex gWaylandDisplaysMutex;