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

Unified Diff: src/factory.h

Issue 2915793002: [api] Prototype WeakRef implementation
Patch Set: Created 3 years, 7 months 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 | « src/deoptimizer.cc ('k') | src/factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index 7267cbf3a0334cc291331ea8895dd3d4842b6a8e..a91bfb7d5fd14eb697e496c69bfda38b0d49c86d 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -270,6 +270,11 @@ class V8_EXPORT_PRIVATE Factory final {
// Create a promise.
Handle<JSPromise> NewJSPromise();
+ void InitJSWeakRef(
+ Handle<JSWeakRef> weak_ref,
+ Handle<JSObject> target,
+ Handle<JSFunction> executor,
+ Handle<Object> holdings);
// Create a global (but otherwise uninitialized) context.
Handle<Context> NewNativeContext();
« no previous file with comments | « src/deoptimizer.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698