diff --git a/src/writer/wgsl/generator_impl_global_decl_test.cc b/src/writer/wgsl/generator_impl_global_decl_test.cc index e9ccecac6b..f8eea59b59 100644 --- a/src/writer/wgsl/generator_impl_global_decl_test.cc +++ b/src/writer/wgsl/generator_impl_global_decl_test.cc @@ -137,7 +137,7 @@ TEST_F(WgslGeneratorImplTest, Emit_OverridableConstants) { gen.increment_indent(); - ASSERT_TRUE(gen.Generate(nullptr)) << gen.error(); + ASSERT_TRUE(gen.Generate()) << gen.error(); EXPECT_EQ(gen.result(), R"( [[override]] let a : f32; [[override(7)]] let b : f32;