| Index: src/inspector/V8StackTraceImpl.cpp
|
| diff --git a/src/inspector/V8StackTraceImpl.cpp b/src/inspector/V8StackTraceImpl.cpp
|
| index d552f256530c0b8e20ef16351565f80a370d5936..25a0e7caf7892fd68b21cc0a37fa66cd5eee186f 100644
|
| --- a/src/inspector/V8StackTraceImpl.cpp
|
| +++ b/src/inspector/V8StackTraceImpl.cpp
|
| @@ -158,9 +158,7 @@ std::unique_ptr<V8StackTraceImpl> V8StackTraceImpl::capture(
|
| v8::HandleScope handleScope(isolate);
|
| v8::Local<v8::StackTrace> stackTrace;
|
| if (isolate->InContext()) {
|
| -#if V8_MAJOR_VERSION >= 5
|
| isolate->GetCpuProfiler()->CollectSample();
|
| -#endif
|
| stackTrace = v8::StackTrace::CurrentStackTrace(isolate, maxStackSize,
|
| stackTraceOptions);
|
| }
|
|
|