Skip to content

Commit 88fb771

Browse files
nitsakhBridgeAR
authored andcommitted
src: fix build when NODE_USE_V8_PLATFORM is not defined
PR-URL: #26380 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent 4886fbf commit 88fb771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/node_v8_platform-inl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ struct V8Platform {
149149
inline void DrainVMTasks(v8::Isolate* isolate) {}
150150
inline void CancelVMTasks(v8::Isolate* isolate) {}
151151
inline void StartTracingAgent() {
152-
if (!trace_enabled_categories.empty()) {
152+
if (!per_process::cli_options->trace_event_categories.empty()) {
153153
fprintf(stderr,
154154
"Node compiled with NODE_USE_V8_PLATFORM=0, "
155155
"so event tracing is not available.\n");

0 commit comments

Comments
 (0)