mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
src: update use of ExternalArrayType constants
Continuation of 4809c7a to update the use of v8::ExternalArrayType.
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
This commit is contained in:
1 parent
573e6afc09
commit
bdc2ea4d52
3 files changed
+8
-8
No files matched your search
+1
-1
@@ -87,7 +87,7 @@ bool HasInstance(Handle<Object> obj) {
|
||||
if (!obj->HasIndexedPropertiesInExternalArrayData())
|
||||
return false;
|
||||
v8::ExternalArrayType type = obj->GetIndexedPropertiesExternalArrayDataType();
|
||||
return type == v8::kExternalUnsignedByteArray;
|
||||
return type == v8::kExternalUint8Array;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user