summaryrefslogtreecommitdiff
path: root/www-client/chromium/files/chromium-88-dawn-size_t-std.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/chromium/files/chromium-88-dawn-size_t-std.patch')
-rw-r--r--www-client/chromium/files/chromium-88-dawn-size_t-std.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-88-dawn-size_t-std.patch b/www-client/chromium/files/chromium-88-dawn-size_t-std.patch
new file mode 100644
index 0000000..f6392e9
--- /dev/null
+++ b/www-client/chromium/files/chromium-88-dawn-size_t-std.patch
@@ -0,0 +1,13 @@
+diff --git a/third_party/dawn/src/common/ityp_array.h b/third_party/dawn/src/common/ityp_array.h
+index 48e080fa5..d70d9e2da 100644
+--- a/third_party/dawn/src/common/ityp_array.h
++++ b/third_party/dawn/src/common/ityp_array.h
+@@ -27,7 +27,7 @@ namespace ityp {
+ // indices must be a particular type |Index|. Dawn uses multiple flat maps of
+ // index-->data, and this class helps ensure an indices cannot be passed interchangably
+ // to a flat map of a different type.
+- template <typename Index, typename Value, size_t Size>
++ template <typename Index, typename Value, std::size_t Size>
+ class array : private std::array<Value, Size> {
+ using I = UnderlyingType<Index>;
+ using Base = std::array<Value, Size>;