Index: src/profiler/cpu-profiler.cc |
diff --git a/src/profiler/cpu-profiler.cc b/src/profiler/cpu-profiler.cc |
index c14b0ef1bdfb1c29cab3c91c794e27536d3702e0..6821ba64ca546484503df42f501ba74f7431d3ea 100644 |
--- a/src/profiler/cpu-profiler.cc |
+++ b/src/profiler/cpu-profiler.cc |
@@ -305,7 +305,7 @@ void CpuProfiler::StartProcessorIfNotStarted() { |
// Disable logging when using the new implementation. |
saved_is_logging_ = logger->is_logging_; |
logger->is_logging_ = false; |
- generator_.reset(new ProfileGenerator(profiles_.get())); |
+ generator_.reset(new ProfileGenerator(isolate_, profiles_.get())); |
processor_.reset(new ProfilerEventsProcessor(isolate_, generator_.get(), |
sampling_interval_)); |
logger->SetUpProfilerListener(); |