From 04e646be526b160dd9a07a3419485a8e989386fb Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Sat, 6 May 2017 19:28:46 +0200 Subject: [PATCH] v8: backport header diff from da5b745dba387 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backport deprecation of `Context::EstimatedSize()` from da5b745dba387 (“[api] deprecate unused context size estimate”). Ref: https://github.com/v8/v8/commit/da5b745dba387d0afdb99cd385ba1467a3ca2831 PR-URL: https://github.com/nodejs/node/pull/12875 Reviewed-By: James M Snell --- deps/v8/include/v8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/v8/include/v8.h b/deps/v8/include/v8.h index 1bf04571ca1..cbc40c09e01 100644 --- a/deps/v8/include/v8.h +++ b/deps/v8/include/v8.h @@ -8168,7 +8168,7 @@ class V8_EXPORT Context { /** * Estimate the memory in bytes retained by this context. */ - size_t EstimatedSize(); + V8_DEPRECATED("no longer supported", size_t EstimatedSize()); /** * Stack-allocated class which sets the execution context for all