From ed5a9aa03850294d7b0280d58ed08f76c606e25c Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sun, 3 Oct 2021 02:20:19 +0100 Subject: LibJS: Convert set_integrity_level() to ThrowCompletionOr --- Userland/Libraries/LibWeb/WebAssembly/WebAssemblyInstanceObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibWeb/WebAssembly') diff --git a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyInstanceObject.cpp b/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyInstanceObject.cpp index c916c47299..48b79c3532 100644 --- a/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyInstanceObject.cpp +++ b/Userland/Libraries/LibWeb/WebAssembly/WebAssemblyInstanceObject.cpp @@ -54,7 +54,7 @@ void WebAssemblyInstanceObject::initialize(JS::GlobalObject& global_object) }); } - m_exports_object->set_integrity_level(IntegrityLevel::Frozen); + MUST(m_exports_object->set_integrity_level(IntegrityLevel::Frozen)); } void WebAssemblyInstanceObject::visit_edges(Visitor& visitor) -- cgit v1.2.3