summaryrefslogtreecommitdiff
path: root/www-client/firefox/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-27 01:33:47 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-27 01:33:47 +0100
commit00757bf15f0eb42661625ed16888d00af9a79561 (patch)
treeb2bba110075f5b8ae1cb7b212e71f09aad35bfea /www-client/firefox/files
parente52012895af4c92f008daac78c3d8b6d691a5dd1 (diff)
gentoo auto-resync : 27:06:2023 - 01:33:47
Diffstat (limited to 'www-client/firefox/files')
-rw-r--r--www-client/firefox/files/firefox-114-ppc64-profiler.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/www-client/firefox/files/firefox-114-ppc64-profiler.patch b/www-client/firefox/files/firefox-114-ppc64-profiler.patch
new file mode 100644
index 000000000000..5a2bfa4e3bd5
--- /dev/null
+++ b/www-client/firefox/files/firefox-114-ppc64-profiler.patch
@@ -0,0 +1,29 @@
+#from: https://phabricator.services.mozilla.com/D181042
+
+diff --git a/tools/profiler/gecko/ProfilerParent.cpp b/tools/profiler/gecko/ProfilerParent.cpp
+--- a/tools/profiler/gecko/ProfilerParent.cpp
++++ b/tools/profiler/gecko/ProfilerParent.cpp
+@@ -722,18 +722,22 @@
+ }
+ }
+
+ Unused << SendStop();
+ }
++#endif // MOZ_GECKO_PROFILER
+
+ ProfilerParent::~ProfilerParent() {
+ MOZ_COUNT_DTOR(ProfilerParent);
+
+ MOZ_RELEASE_ASSERT(NS_IsMainThread());
++#ifdef MOZ_GECKO_PROFILER
+ ProfilerParentTracker::StopTracking(this);
++#endif
+ }
+
++#ifdef MOZ_GECKO_PROFILER
+ /* static */
+ nsTArray<ProfilerParent::SingleProcessProfilePromiseAndChildPid>
+ ProfilerParent::GatherProfiles() {
+ nsTArray<SingleProcessProfilePromiseAndChildPid> results;
+ if (!NS_IsMainThread()) {
+