| Index: third_party/WebKit/LayoutTests/http/tests/wasm/resources/load_wasm.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/wasm/resources/load_wasm.js b/third_party/WebKit/LayoutTests/http/tests/wasm/resources/load_wasm.js
|
| index a0a0e5a8be4c1f8287b0ce835641de1b2ef13d98..eca4b8d3c50543df6292c091ea4a42e96dfab0d9 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/wasm/resources/load_wasm.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/wasm/resources/load_wasm.js
|
| @@ -14,8 +14,5 @@ function createWasmModule() {
|
| if (!response.ok) throw new Error(response.statusText);
|
| return response.arrayBuffer();
|
| })
|
| - .then(data => {
|
| - var mod = new WebAssembly.Module(data);
|
| - return mod;
|
| - });
|
| + .then(WebAssembly.compile);
|
| }
|
|
|