diff --git a/src/v8_typed_array.cc b/src/v8_typed_array.cc index 41211c901e2..f5503a90d5c 100644 --- a/src/v8_typed_array.cc +++ b/src/v8_typed_array.cc @@ -829,6 +829,7 @@ int SizeOfArrayElementForType(v8::ExternalArrayType type) { switch (type) { case v8::kExternalByteArray: case v8::kExternalUnsignedByteArray: + case v8::kExternalPixelArray: return 1; case v8::kExternalShortArray: case v8::kExternalUnsignedShortArray: