| 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 72ae3816155eb1d85f2d3ff074183201dae60d1d..6ba65932152e2722e294a2f950562fd473b0bfbd 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);
|
| }
|
| };
|
|
|