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:
Trevor Norris committed 2014-10-08 01:34:46 -07:00
1 parent 573e6afc09
commit bdc2ea4d52
3 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -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;
}