File tree Expand file tree Collapse file tree 2 files changed +1
-28
lines changed Expand file tree Collapse file tree 2 files changed +1
-28
lines changed Original file line number Diff line number Diff line change @@ -583,26 +583,6 @@ MultiIsolatePlatform* GetMultiIsolatePlatform(IsolateData* env) {
583
583
return env->platform ();
584
584
}
585
585
586
- MultiIsolatePlatform* CreatePlatform (
587
- int thread_pool_size,
588
- node::tracing::TracingController* tracing_controller) {
589
- return CreatePlatform (
590
- thread_pool_size,
591
- static_cast <v8::TracingController*>(tracing_controller));
592
- }
593
-
594
- MultiIsolatePlatform* CreatePlatform (
595
- int thread_pool_size,
596
- v8::TracingController* tracing_controller) {
597
- return MultiIsolatePlatform::Create (thread_pool_size,
598
- tracing_controller)
599
- .release ();
600
- }
601
-
602
- void FreePlatform (MultiIsolatePlatform* platform) {
603
- delete platform;
604
- }
605
-
606
586
std::unique_ptr<MultiIsolatePlatform> MultiIsolatePlatform::Create (
607
587
int thread_pool_size,
608
588
v8::TracingController* tracing_controller,
Original file line number Diff line number Diff line change @@ -832,14 +832,7 @@ NODE_EXTERN void GetNodeReport(Environment* env,
832
832
NODE_EXTERN MultiIsolatePlatform* GetMultiIsolatePlatform (Environment* env);
833
833
NODE_EXTERN MultiIsolatePlatform* GetMultiIsolatePlatform (IsolateData* env);
834
834
835
- NODE_DEPRECATED (" Use MultiIsolatePlatform::Create() instead" ,
836
- NODE_EXTERN MultiIsolatePlatform* CreatePlatform (
837
- int thread_pool_size,
838
- v8::TracingController* tracing_controller));
839
- NODE_DEPRECATED (" Use MultiIsolatePlatform::Create() instead" ,
840
- NODE_EXTERN void FreePlatform (MultiIsolatePlatform* platform));
841
-
842
- // Get/set the currently active tracing controller. Using CreatePlatform()
835
+ // Get/set the currently active tracing controller. Using MultiIsolatePlatform::Create()
843
836
// will implicitly set this by default. This is global and should be initialized
844
837
// along with the v8::Platform instance that is being used. `controller`
845
838
// is allowed to be `nullptr`.
You can’t perform that action at this time.
0 commit comments