Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index e32c104d484a7675a7e4700278390fa70a432d49..0f0f80ea70767fa12bbb9824463c10d9c410dafe 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -2593,29 +2593,6 @@ enum PropertyAttribute { |
DontDelete = 1 << 2 |
}; |
-enum ExternalArrayType { |
- kExternalInt8Array = 1, |
- kExternalUint8Array, |
- kExternalInt16Array, |
- kExternalUint16Array, |
- kExternalInt32Array, |
- kExternalUint32Array, |
- kExternalFloat32Array, |
- kExternalFloat64Array, |
- kExternalUint8ClampedArray, |
- |
- // Legacy constant names |
- kExternalByteArray = kExternalInt8Array, |
- kExternalUnsignedByteArray = kExternalUint8Array, |
- kExternalShortArray = kExternalInt16Array, |
- kExternalUnsignedShortArray = kExternalUint16Array, |
- kExternalIntArray = kExternalInt32Array, |
- kExternalUnsignedIntArray = kExternalUint32Array, |
- kExternalFloatArray = kExternalFloat32Array, |
- kExternalDoubleArray = kExternalFloat64Array, |
- kExternalPixelArray = kExternalUint8ClampedArray |
-}; |
- |
/** |
* Accessor[Getter|Setter] are used as callback functions when |
* setting|getting a particular property. See Object and ObjectTemplate's |
@@ -2966,33 +2943,6 @@ class V8_EXPORT Object : public Value { |
Local<Context> CreationContext(); |
/** |
- * Set the backing store of the indexed properties to be managed by the |
- * embedding layer. Access to the indexed properties will follow the rules |
- * spelled out in CanvasPixelArray. |
- * Note: The embedding program still owns the data and needs to ensure that |
- * the backing store is preserved while V8 has a reference. |
- */ |
- void SetIndexedPropertiesToPixelData(uint8_t* data, int length); |
- bool HasIndexedPropertiesInPixelData(); |
- uint8_t* GetIndexedPropertiesPixelData(); |
- int GetIndexedPropertiesPixelDataLength(); |
- |
- /** |
- * Set the backing store of the indexed properties to be managed by the |
- * embedding layer. Access to the indexed properties will follow the rules |
- * spelled out for the CanvasArray subtypes in the WebGL specification. |
- * Note: The embedding program still owns the data and needs to ensure that |
- * the backing store is preserved while V8 has a reference. |
- */ |
- void SetIndexedPropertiesToExternalArrayData(void* data, |
- ExternalArrayType array_type, |
- int number_of_elements); |
- bool HasIndexedPropertiesInExternalArrayData(); |
- void* GetIndexedPropertiesExternalArrayData(); |
- ExternalArrayType GetIndexedPropertiesExternalArrayDataType(); |
- int GetIndexedPropertiesExternalArrayDataLength(); |
- |
- /** |
* Checks whether a callback is set by the |
* ObjectTemplate::SetCallAsFunctionHandler method. |
* When an Object is callable this method returns true. |