Skip to content

Commit 76fc8c8

Browse files
committed
src: clean up embedder API
nodejs/node#35897
1 parent 0c498e7 commit 76fc8c8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

patches/node/fix_expose_tracing_agent_and_use_tracing_tracingcontroller_instead.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ index 34a16feaed229a59181e1b2e48b0e111d5b0b2a6..a649f52403659fd18898e1e813f97e32
3333
class TracingController;
3434

3535
}
36-
@@ -522,6 +523,8 @@ NODE_DEPRECATED("Use GetMultiIsolatePlatform(env) instead",
36+
@@ -484,6 +484,8 @@ NODE_EXTERN v8::MaybeLocal<v8::Value> PrepareStackTraceCallback(
3737
NODE_EXTERN MultiIsolatePlatform* GetMultiIsolatePlatform(Environment* env);
3838
NODE_EXTERN MultiIsolatePlatform* GetMultiIsolatePlatform(IsolateData* env);
3939

4040
+NODE_EXTERN node::tracing::Agent* CreateAgent();
4141
+
42-
// Legacy variants of MultiIsolatePlatform::Create().
43-
NODE_DEPRECATED("Use variant taking a v8::TracingController* pointer instead",
42+
NODE_DEPRECATED("Use MultiIsolatePlatform::Create() instead",
4443
NODE_EXTERN MultiIsolatePlatform* CreatePlatform(
44+
int thread_pool_size,

0 commit comments

Comments
 (0)