Index: test/fuzzer/wasm-names-section.cc |
diff --git a/test/fuzzer/wasm-names-section.cc b/test/fuzzer/wasm-names-section.cc |
index 01846823ffff88fd4d53c2d6ff8b65bb51c4ac2f..9a7989dac172baeec1d0a42cc561d5750282544f 100644 |
--- a/test/fuzzer/wasm-names-section.cc |
+++ b/test/fuzzer/wasm-names-section.cc |
@@ -5,6 +5,6 @@ |
#include "test/fuzzer/wasm-section-fuzzers.h" |
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { |
- // TODO(titzer): Names section requires a preceding function section. |
- return fuzz_wasm_section(v8::internal::wasm::kNameSectionCode, data, size); |
+ return fuzz_wasm_section(v8::internal::wasm::WasmSection::Code::Names, data, |
+ size); |
} |