Index: src/profiler/cpu-profiler-inl.h |
diff --git a/src/profiler/cpu-profiler-inl.h b/src/profiler/cpu-profiler-inl.h |
index ea82c5589f0fb4e52eb153c04ce0939499e65699..45e4ccf1368d7dc07e8c3666caa8580f1edf9451 100644 |
--- a/src/profiler/cpu-profiler-inl.h |
+++ b/src/profiler/cpu-profiler-inl.h |
@@ -65,7 +65,7 @@ TickSample* ProfilerEventsProcessor::StartTickSample() { |
void* address = ticks_buffer_.StartEnqueue(); |
if (address == NULL) return NULL; |
TickSampleEventRecord* evt = |
- new(address) TickSampleEventRecord(last_code_event_id_); |
+ new (address) TickSampleEventRecord(last_code_event_id_.Value()); |
return &evt->sample; |
} |