summaryrefslogtreecommitdiff
path: root/rhbz-1354671.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 03:13:08 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 03:13:08 +0000
commitee8469dbc1fa88e770dc42b9e36c16096db86c5c (patch)
treea3408825c9e3c0e6f300598835ea1f5d761bb5b4 /rhbz-1354671.patch
parentc598e711556fc5cd73a0a78ba7c6c3c71b28b074 (diff)
automatic import of firefoxopeneuler24.03_LTS
Diffstat (limited to 'rhbz-1354671.patch')
-rw-r--r--rhbz-1354671.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/rhbz-1354671.patch b/rhbz-1354671.patch
new file mode 100644
index 0000000..b6e8bbd
--- /dev/null
+++ b/rhbz-1354671.patch
@@ -0,0 +1,12 @@
+diff -up firefox-70.0/layout/base/PresShell.h.1354671 firefox-70.0/layout/base/PresShell.h
+--- firefox-70.0/layout/base/PresShell.h.1354671 2019-10-22 12:33:12.987775587 +0200
++++ firefox-70.0/layout/base/PresShell.h 2019-10-22 12:36:39.999366086 +0200
+@@ -257,7 +257,7 @@ class PresShell final : public nsStubDoc
+ * to the same aSize value. AllocateFrame is infallible and will abort
+ * on out-of-memory.
+ */
+- void* AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize) {
++ void* __attribute__((optimize("no-lifetime-dse"))) AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize) {
+ #define FRAME_ID(classname, ...) \
+ static_assert(size_t(nsQueryFrame::FrameIID::classname##_id) == \
+ size_t(eArenaObjectID_##classname), \