Index: test/unittests/wasm/module-decoder-unittest.cc |
diff --git a/test/unittests/wasm/module-decoder-unittest.cc b/test/unittests/wasm/module-decoder-unittest.cc |
index 4c2b0473c053e8b461cf61c5a3d2b173b96c2daa..724d9ccf6d9d7b68dedbfd3e138fe25abf05429c 100644 |
--- a/test/unittests/wasm/module-decoder-unittest.cc |
+++ b/test/unittests/wasm/module-decoder-unittest.cc |
@@ -143,14 +143,14 @@ class WasmModuleVerifyTest : public TestWithIsolateAndZone { |
auto temp = new byte[total]; |
memcpy(temp, header, sizeof(header)); |
memcpy(temp + sizeof(header), module_start, size); |
- ModuleResult result = DecodeWasmModule(isolate(), zone(), temp, |
- temp + total, false, kWasmOrigin); |
+ ModuleResult result = |
+ DecodeWasmModule(isolate(), temp, temp + total, false, kWasmOrigin); |
delete[] temp; |
return result; |
} |
ModuleResult DecodeModuleNoHeader(const byte* module_start, |
const byte* module_end) { |
- return DecodeWasmModule(isolate(), zone(), module_start, module_end, false, |
+ return DecodeWasmModule(isolate(), module_start, module_end, false, |
kWasmOrigin); |
} |
}; |