summaryrefslogtreecommitdiff
path: root/mozilla-1190935.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2015-09-22 12:42:30 +0200
committerMartin Stransky <stransky@redhat.com>2015-09-22 12:42:30 +0200
commit52d1a1b4f0805eda1cce4b0c10a7b78fd8135169 (patch)
tree71c64f7c2af237db66bfb0a4e47f47bb7189b496 /mozilla-1190935.patch
parentUpdate to 40.0 Build 3 (diff)
downloadlibrewolf-fedora-ff-52d1a1b4f0805eda1cce4b0c10a7b78fd8135169.tar.gz
librewolf-fedora-ff-52d1a1b4f0805eda1cce4b0c10a7b78fd8135169.tar.bz2
librewolf-fedora-ff-52d1a1b4f0805eda1cce4b0c10a7b78fd8135169.zip
Added OMTC stability patches (mozbz#1180971, mozbz#1190935, mozbz#1205045)
Diffstat (limited to 'mozilla-1190935.patch')
-rw-r--r--mozilla-1190935.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/mozilla-1190935.patch b/mozilla-1190935.patch
new file mode 100644
index 0000000..242311f
--- /dev/null
+++ b/mozilla-1190935.patch
@@ -0,0 +1,33 @@
+# HG changeset patch
+# User Lee Salzman <lsalzman@mozilla.com>
+# Date 1438873323 14400
+# Thu Aug 06 11:02:03 2015 -0400
+# Node ID 9ad90210cc51eb61d21230086b9acf5c8003aea0
+# Parent abc56d57f6e1aebade48949fb557d26eae555df8
+fix race condition in gtk window EndRemoteDrawingInRegion
+
+diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp
+--- a/widget/gtk/nsWindow.cpp
++++ b/widget/gtk/nsWindow.cpp
+@@ -6203,19 +6203,19 @@ nsWindow::StartRemoteDrawing()
+ }
+ }
+
+ void
+ nsWindow::EndRemoteDrawingInRegion(DrawTarget* aDrawTarget, nsIntRegion& aInvalidRegion)
+ {
+ #ifdef MOZ_X11
+ # ifdef MOZ_HAVE_SHMIMAGE
+- if (!mGdkWindow || mIsFullyObscured || !mHasMappedToplevel || mIsDestroyed ||
+- !mShmImage)
++ if (!mGdkWindow || !mShmImage) {
+ return;
++ }
+
+ if (mThebesSurface) {
+ aInvalidRegion.AndWith(nsIntRect(nsIntPoint(0, 0), mThebesSurface->GetSize()));
+ }
+
+ mShmImage->Put(mGdkWindow, aInvalidRegion);
+
+ # endif // MOZ_HAVE_SHMIMAGE
bgstack15