diff options
author | Chris Xiong <chirs241097@gmail.com> | 2024-04-20 01:31:31 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2024-04-20 01:31:31 -0400 |
commit | 011a96579f5afed88d25bb26e542c3919b953f0f (patch) | |
tree | d787b30c676168930ff3adbc5a1cd82e15becfd7 /www-client/chromium/files/chromium-120-safe_sprintf-nullptr-t.patch | |
parent | e5f91e68bdafa3c5665a4571ed66b25d975aa0ab (diff) | |
download | ppo-011a96579f5afed88d25bb26e542c3919b953f0f.tar.xz |
chromium 126.0.6423.2
Diffstat (limited to 'www-client/chromium/files/chromium-120-safe_sprintf-nullptr-t.patch')
-rw-r--r-- | www-client/chromium/files/chromium-120-safe_sprintf-nullptr-t.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/www-client/chromium/files/chromium-120-safe_sprintf-nullptr-t.patch b/www-client/chromium/files/chromium-120-safe_sprintf-nullptr-t.patch deleted file mode 100644 index e452ba0..0000000 --- a/www-client/chromium/files/chromium-120-safe_sprintf-nullptr-t.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/safe_sprintf.h b/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/safe_sprintf.h -index 3644afae8b..75e14afa24 100644 ---- a/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/safe_sprintf.h -+++ b/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/strings/safe_sprintf.h -@@ -5,7 +5,7 @@ - #ifndef BASE_ALLOCATOR_PARTITION_ALLOCATOR_SRC_PARTITION_ALLOC_PARTITION_ALLOC_BASE_STRINGS_SAFE_SPRINTF_H_ - #define BASE_ALLOCATOR_PARTITION_ALLOCATOR_SRC_PARTITION_ALLOC_PARTITION_ALLOC_BASE_STRINGS_SAFE_SPRINTF_H_ - --#include <stddef.h> -+#include <cstddef> - #include <stdint.h> - #include <stdlib.h> - -@@ -184,7 +184,7 @@ struct Arg { - // - // Warning: don't just do Arg(NULL) here because in some libcs, NULL is an - // alias for nullptr! -- Arg(nullptr_t p) : type(INT) { -+ Arg(std::nullptr_t p) : type(INT) { - integer.i = 0; - // Internally, SafeSprintf expects to represent nulls as integers whose - // width is equal to sizeof(NULL), which is not necessarily equal to |