Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 54fefda

Browse filesBrowse files
backesRafaelGSS
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 <duhamelantoine1995@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> (cherry picked from commit f3e0b79)
1 parent 840f509 commit 54fefda
Copy full SHA for 54fefda

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node_wasm_web_api.cc‎

Copy file name to clipboardExpand all lines: src/node_wasm_web_api.cc
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.