Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 66c3043b4aa75f4dda797c749195d22d01ed3511..0761a201879d22020b65d763fa285533101d8786 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -3042,15 +3042,6 @@ class V8_EXPORT Map : public Object { |
*/ |
static Local<Map> New(Isolate* isolate); |
- /** |
- * Creates a new Map containing the elements of array, which must be formatted |
- * in the same manner as the array returned from AsArray(). |
- * Guaranteed to be side-effect free if the array contains no holes. |
- */ |
- static V8_WARN_UNUSED_RESULT V8_DEPRECATED( |
- "Use mutation methods instead", |
- MaybeLocal<Map> FromArray(Local<Context> context, Local<Array> array)); |
- |
V8_INLINE static Map* Cast(Value* obj); |
private: |
@@ -3083,14 +3074,6 @@ class V8_EXPORT Set : public Object { |
*/ |
static Local<Set> New(Isolate* isolate); |
- /** |
- * Creates a new Set containing the items in array. |
- * Guaranteed to be side-effect free if the array contains no holes. |
- */ |
- static V8_WARN_UNUSED_RESULT V8_DEPRECATED( |
- "Use mutation methods instead", |
- MaybeLocal<Set> FromArray(Local<Context> context, Local<Array> array)); |
- |
V8_INLINE static Set* Cast(Value* obj); |
private: |