Skip to content

Commit 88d1ca8

Browse files
committed
src: use non-deprecated Get/SetPrototype methods
Refs: v8/v8@5e139e9 PR-URL: #59671 Reviewed-By: Edy Silva <[email protected]> Reviewed-By: Vladimir Morozov <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 96db47f commit 88d1ca8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/node_sqlite.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2103,9 +2103,9 @@ void StatementSync::Iterate(const FunctionCallbackInfo<Value>& args) {
21032103
StatementSyncIterator::Create(env, BaseObjectPtr<StatementSync>(stmt));
21042104

21052105
if (iter->object()
2106-
->GetPrototype()
2106+
->GetPrototypeV2()
21072107
.As<Object>()
2108-
->SetPrototype(context, js_iterator_prototype)
2108+
->SetPrototypeV2(context, js_iterator_prototype)
21092109
.IsNothing()) {
21102110
return;
21112111
}

0 commit comments

Comments
 (0)