Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 981dee015ebb7d64dbd01754ead1861abeba2919..8df53af0df9a63126066a1469b73b217e1b36537 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -434,6 +434,11 @@ class Factory FINAL { |
Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type); |
+ // Creates a new JSTypedArray with the specified buffer. |
+ Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type, |
+ Handle<JSArrayBuffer> buffer, |
+ size_t length); |
+ |
Handle<JSDataView> NewJSDataView(); |
// Allocates a Harmony proxy. |