Index: src/platform-solaris.cc |
diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc |
index 85ba95f7245668543cd17d70d2764f051ca735a3..0e616d1ab4315131cacdc61f62bc0034353db3f3 100644 |
--- a/src/platform-solaris.cc |
+++ b/src/platform-solaris.cc |
@@ -682,7 +682,7 @@ static void ProfilerSignalHandler(int signal, siginfo_t* info, void* context) { |
if (sampler == NULL || !sampler->IsActive()) return; |
TickSample sample_obj; |
- TickSample* sample = CpuProfiler::TickSampleEvent(isolate); |
+ TickSample* sample = isolate->cpu_profiler()->TickSampleEvent(); |
if (sample == NULL) sample = &sample_obj; |
// Extracting the sample from the context is extremely machine dependent. |