mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:57:35 +00:00
LibJS: Convert ArrayBuffer::create() to NonnullGCPtr
This commit is contained in:
parent
91b0123eaf
commit
947ea92bf6
7 changed files with 15 additions and 15 deletions
|
@ -84,7 +84,7 @@ JS::Promise* SubtleCrypto::digest(DeprecatedString const& algorithm, JS::Handle<
|
|||
return promise;
|
||||
}
|
||||
|
||||
auto* result = JS::ArrayBuffer::create(realm, result_buffer.release_value());
|
||||
auto result = JS::ArrayBuffer::create(realm, result_buffer.release_value());
|
||||
|
||||
// 9. Resolve promise with result.
|
||||
promise->fulfill(result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue