summaryrefslogtreecommitdiff
path: root/mozilla-1640567.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-10-01 12:22:08 +0200
committerMartin Stransky <stransky@redhat.com>2020-10-01 12:22:08 +0200
commit807160dda080518802a1bacb7002a721e08cda0d (patch)
tree811959f04c77cb63d5128ddee74396f8b36727c9 /mozilla-1640567.patch
parentUpdated to 81.0.1 (diff)
downloadlibrewolf-fedora-ff-807160dda080518802a1bacb7002a721e08cda0d.tar.gz
librewolf-fedora-ff-807160dda080518802a1bacb7002a721e08cda0d.tar.bz2
librewolf-fedora-ff-807160dda080518802a1bacb7002a721e08cda0d.zip
Added fix for mozbz#1640567, Enable PGO
Diffstat (limited to 'mozilla-1640567.patch')
-rw-r--r--mozilla-1640567.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/mozilla-1640567.patch b/mozilla-1640567.patch
new file mode 100644
index 0000000..c1f3f44
--- /dev/null
+++ b/mozilla-1640567.patch
@@ -0,0 +1,18 @@
+diff --git a/layout/xul/nsMenuPopupFrame.cpp b/layout/xul/nsMenuPopupFrame.cpp
+--- a/layout/xul/nsMenuPopupFrame.cpp
++++ b/layout/xul/nsMenuPopupFrame.cpp
+@@ -1422,11 +1422,9 @@
+ !GDK_IS_X11_DISPLAY(gdk_display_get_default())) {
+ screenPoint = nsPoint(anchorRect.x, anchorRect.y);
+ mAnchorRect = anchorRect;
+- } else
++ }
+ #endif
+- {
+- screenPoint = AdjustPositionForAnchorAlign(anchorRect, hFlip, vFlip);
+- }
++ screenPoint = AdjustPositionForAnchorAlign(anchorRect, hFlip, vFlip);
+ } else {
+ // with no anchor, the popup is positioned relative to the root frame
+ anchorRect = rootScreenRect;
+
bgstack15