summaryrefslogtreecommitdiff
path: root/chromium-123-stats-collector.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-09-25 09:55:25 +0000
committerCoprDistGit <infra@openeuler.org>2024-09-25 09:55:25 +0000
commit8fe37c454512853c40108c2c0d19c2d39d15af19 (patch)
treeaefee73b38da5be91c6d7b3a2e1ba13848f41938 /chromium-123-stats-collector.patch
parent0dc651d979e28d3c6b3e380b056741946893de1d (diff)
automatic import of chromiumopeneuler20.03
Diffstat (limited to 'chromium-123-stats-collector.patch')
-rw-r--r--chromium-123-stats-collector.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/chromium-123-stats-collector.patch b/chromium-123-stats-collector.patch
new file mode 100644
index 0000000..7766d4f
--- /dev/null
+++ b/chromium-123-stats-collector.patch
@@ -0,0 +1,19 @@
+reported upstream: https://issues.chromium.org/issues/330361615
+
+The forward header includes the declaration of deallocate(), but not the
+definition. Since the definition is in a header (and presumably it gets
+inlined by the compiler), the definition doesn't actually end up in an
+object file unless the non-forward header gets included. Not having the
+definition makes the linker sad.
+
+--- a/base/allocator/partition_allocator/src/partition_alloc/starscan/stats_collector.h
++++ b/base/allocator/partition_allocator/src/partition_alloc/starscan/stats_collector.h
+@@ -14,7 +14,7 @@
+ #include <unordered_map>
+ #include <utility>
+
+-#include "partition_alloc/internal_allocator_forward.h"
++#include "partition_alloc/internal_allocator.h"
+ #include "partition_alloc/partition_alloc_base/threading/platform_thread.h"
+ #include "partition_alloc/partition_alloc_base/time/time.h"
+ #include "partition_alloc/partition_alloc_check.h"