diff options
Diffstat (limited to 'src/bun.js/bindings/JSBuffer.cpp')
-rw-r--r-- | src/bun.js/bindings/JSBuffer.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bun.js/bindings/JSBuffer.cpp b/src/bun.js/bindings/JSBuffer.cpp index 9b3854b95..9d66fa1db 100644 --- a/src/bun.js/bindings/JSBuffer.cpp +++ b/src/bun.js/bindings/JSBuffer.cpp @@ -56,6 +56,9 @@ // #include "JavaScriptCore/JSTypedArrayViewPrototype.h" #include "JavaScriptCore/JSArrayBufferViewInlines.h" +using namespace JSC; +using namespace WebCore; + JSC_DECLARE_HOST_FUNCTION(constructJSBuffer); static JSC_DECLARE_HOST_FUNCTION(jsBufferConstructorFunction_alloc); @@ -2172,5 +2175,5 @@ bool JSBuffer__isBuffer(JSC::JSGlobalObject* lexicalGlobalObject, JSC::EncodedJS return false; JSValue prototype = cell->getPrototype(vm, lexicalGlobalObject); - return prototype.inherits<JSBufferPrototype>(); + return prototype.inherits<WebCore::JSBufferPrototype>(); }
\ No newline at end of file |