From 47bcea99fbad7e8cc1ad242537f766293777f94d Mon Sep 17 00:00:00 2001 From: "daniel.bevenius" Date: Tue, 30 Aug 2016 02:43:41 -0700 Subject: [PATCH] Updating comment for Proxy::New function The comment for the Proxy::New functions seems inaccurate and is currently identical to Map::New: 3090 /** 3091 * Creates a new empty Map. 3092 */ 3093 static Local New(Isolate* isolate); This commit updates the comment to describe that it creates a Proxy and not a Map. BUG= Review-Url: https://codereview.chromium.org/2176063002 Cr-Commit-Position: refs/heads/master@{#39002} --- include/v8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/v8.h b/include/v8.h index e16e1d751e..2b26723133 100644 --- a/include/v8.h +++ b/include/v8.h @@ -3627,7 +3627,7 @@ class V8_EXPORT Proxy : public Object { void Revoke(); /** - * Creates a new empty Map. + * Creates a new Proxy for the target object. */ static MaybeLocal New(Local context, Local local_target,