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

Unified Diff: include/v8.h

Issue 2475433008: Set global proxy internal field count based on the global object template. (Closed)
Patch Set: Address comments Created 4 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 eb1f08a60942d13f71cbb7b9f0e8ab77dcb14451..50cdcf02cd45855bb4264219c2a2b48860f9562f 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -7870,12 +7870,6 @@ class V8_EXPORT ExtensionConfiguration {
const char** names_;
};
-#ifndef V8_CONTEXT_PROXY_INTERNAL_FIELD_COUNT
-// The number of required internal fields for global proxy objects can be
-// defined by embedder.
-#define V8_CONTEXT_PROXY_INTERNAL_FIELD_COUNT 2
-#endif
-
/**
* A sandboxed execution context with its own set of built-in objects
* and functions.
@@ -8073,9 +8067,6 @@ class V8_EXPORT Context {
Local<Context> context_;
};
- static const int kProxyInternalFieldCount =
- V8_CONTEXT_PROXY_INTERNAL_FIELD_COUNT;
-
private:
friend class Value;
friend class Script;
« 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