Skip to content

Commit f3e0b79

Browse files
backestargos
authored andcommitted
src: avoid deprecated Wasm API
Use the new API which gets a `ModuleCachingCallback` parameter. Refs: https://crrev.com/c/7078551 PR-URL: #61898 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
1 parent fafe164 commit f3e0b79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/node_wasm_web_api.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ void WasmStreamingObject::Finish(const FunctionCallbackInfo<Value>& args) {
132132
CHECK(obj->streaming_);
133133

134134
CHECK_EQ(args.Length(), 0);
135-
obj->streaming_->Finish();
135+
obj->streaming_->Finish(WasmStreaming::ModuleCachingCallback{});
136136
}
137137

138138
void WasmStreamingObject::Abort(const FunctionCallbackInfo<Value>& args) {

0 commit comments

Comments
 (0)