aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/webcrypto/SubtleCrypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/bindings/webcrypto/SubtleCrypto.h')
-rw-r--r--src/bun.js/bindings/webcrypto/SubtleCrypto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bun.js/bindings/webcrypto/SubtleCrypto.h b/src/bun.js/bindings/webcrypto/SubtleCrypto.h
index 5ee622250..e9ef23e6a 100644
--- a/src/bun.js/bindings/webcrypto/SubtleCrypto.h
+++ b/src/bun.js/bindings/webcrypto/SubtleCrypto.h
@@ -56,6 +56,7 @@ enum class CryptoKeyUsage;
class SubtleCrypto : public ContextDestructionObserver, public RefCounted<SubtleCrypto>, public CanMakeWeakPtr<SubtleCrypto> {
public:
static Ref<SubtleCrypto> create(ScriptExecutionContext* context) { return adoptRef(*new SubtleCrypto(context)); }
+ static SubtleCrypto* createPtr(ScriptExecutionContext* context) { return new SubtleCrypto(context); }
~SubtleCrypto();
using KeyFormat = CryptoKeyFormat;