Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: include/v8.h

Issue 1456923003: [api] Remove deprecated and unused Set/Map::FromArray (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698