Skip to content

Commit 45a8b55

Browse files
authored
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 b29c85b commit 45a8b55

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
@@ -2111,9 +2111,9 @@ void StatementSync::Iterate(const FunctionCallbackInfo<Value>& args) {
21112111
StatementSyncIterator::Create(env, BaseObjectPtr<StatementSync>(stmt));
21122112

21132113
if (iter->object()
2114-
->GetPrototype()
2114+
->GetPrototypeV2()
21152115
.As<Object>()
2116-
->SetPrototype(context, js_iterator_prototype)
2116+
->SetPrototypeV2(context, js_iterator_prototype)
21172117
.IsNothing()) {
21182118
return;
21192119
}

0 commit comments

Comments
 (0)