summaryrefslogblamecommitdiff
path: root/www-client/chromium/files/chromium-88-dawn-size_t-std.patch
blob: f6392e946f933bf26f6d95170bfc372041759da8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
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>;