Index: test/cctest/test-cpu-profiler.cc |
diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc |
index 688e7fc266ca25768f7986e98b964d0e97768b0b..e4eceeceab77641b7599424a249196346f5c461a 100644 |
--- a/test/cctest/test-cpu-profiler.cc |
+++ b/test/cctest/test-cpu-profiler.cc |
@@ -1033,8 +1033,8 @@ static void TickLines(bool optimize) { |
i::Handle<i::String> str = factory->NewStringFromAsciiChecked(func_name); |
int line = 1; |
int column = 1; |
- profiler.CodeCreateEvent(i::Logger::FUNCTION_TAG, code, func->shared(), NULL, |
- *str, line, column); |
+ profiler.CodeCreateEvent(i::Logger::FUNCTION_TAG, code, func->shared(), *str, |
+ line, column); |
// Enqueue a tick event to enable code events processing. |
EnqueueTickSampleEvent(processor.get(), code_address); |