| Index: third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp
|
| index a7df3142b2f32bd26d3fa15c7b4061625f2292d5..830d2da32f677d37744b589ee6c81438b5bbb815 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp
|
| @@ -5,6 +5,7 @@
|
| #include "platform/v8_inspector/V8ProfilerAgentImpl.h"
|
|
|
| #include "platform/v8_inspector/Atomics.h"
|
| +#include "platform/v8_inspector/V8Debugger.h"
|
| #include "platform/v8_inspector/V8InspectorImpl.h"
|
| #include "platform/v8_inspector/V8InspectorSessionImpl.h"
|
| #include "platform/v8_inspector/V8StackTraceImpl.h"
|
| @@ -116,9 +117,9 @@ std::unique_ptr<protocol::Profiler::CPUProfile> createCPUProfile(v8::Isolate* is
|
|
|
| std::unique_ptr<protocol::Debugger::Location> currentDebugLocation(V8InspectorImpl* inspector)
|
| {
|
| - std::unique_ptr<V8StackTrace> callStack = inspector->captureStackTrace(1);
|
| + std::unique_ptr<V8StackTraceImpl> callStack = inspector->debugger()->captureStackTrace(false /* fullStack */);
|
| std::unique_ptr<protocol::Debugger::Location> location = protocol::Debugger::Location::create()
|
| - .setScriptId(callStack->topScriptId())
|
| + .setScriptId(toString16(callStack->topScriptId()))
|
| .setLineNumber(callStack->topLineNumber()).build();
|
| location->setColumnNumber(callStack->topColumnNumber());
|
| return location;
|
|
|