tint/ast: Migrate to utils::Vector

Change-Id: I10dd2feeaeb86a1ee7769d2bfd172e49c2805cb3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/97843
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
diff --git a/src/tint/ast/builtin_texture_helper_test.h b/src/tint/ast/builtin_texture_helper_test.h
index 1616a86..bb61875 100644
--- a/src/tint/ast/builtin_texture_helper_test.h
+++ b/src/tint/ast/builtin_texture_helper_test.h
@@ -177,6 +177,9 @@
 
 /// Describes a texture builtin overload
 struct TextureOverloadCase {
+    /// Args is a list of ast::Expression used as arguments to the texture overload case.
+    using Args = utils::Vector<const ast::Expression*, 8>;
+
     /// Constructor for textureSample...() functions
     TextureOverloadCase(ValidTextureOverload,
                         const char*,
@@ -185,7 +188,7 @@
                         ast::TextureDimension,
                         TextureDataType,
                         const char*,
-                        std::function<ExpressionList(ProgramBuilder*)>);
+                        std::function<Args(ProgramBuilder*)>);
     /// Constructor for textureLoad() functions with non-storage textures
     TextureOverloadCase(ValidTextureOverload,
                         const char*,
@@ -193,7 +196,7 @@
                         ast::TextureDimension,
                         TextureDataType,
                         const char*,
-                        std::function<ExpressionList(ProgramBuilder*)>);
+                        std::function<Args(ProgramBuilder*)>);
     /// Constructor for textureLoad() with storage textures
     TextureOverloadCase(ValidTextureOverload,
                         const char*,
@@ -202,7 +205,7 @@
                         ast::TextureDimension,
                         TextureDataType,
                         const char*,
-                        std::function<ExpressionList(ProgramBuilder*)>);
+                        std::function<Args(ProgramBuilder*)>);
     /// Copy constructor
     TextureOverloadCase(const TextureOverloadCase&);
     /// Destructor
@@ -246,7 +249,7 @@
     /// Name of the function. e.g. `textureSample`, `textureSampleGrad`, etc
     const char* const function;
     /// A function that builds the AST arguments for the overload
-    std::function<ExpressionList(ProgramBuilder*)> const args;
+    std::function<Args(ProgramBuilder*)> const args;
 };
 
 std::ostream& operator<<(std::ostream& out, const TextureOverloadCase& data);