| Index: third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp b/third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp
|
| index b52f771cefc69a911981a1ff922bfc4a0cbb52d6..923441c904def39d51231308e7d89b3920b74363 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/SourceLocation.cpp
|
| @@ -14,7 +14,7 @@
|
| #include "core/inspector/ThreadDebugger.h"
|
| #include "platform/ScriptForbiddenScope.h"
|
| #include "platform/TracedValue.h"
|
| -#include "platform/v8_inspector/public/V8Debugger.h"
|
| +#include "platform/v8_inspector/public/V8Inspector.h"
|
| #include "wtf/PtrUtil.h"
|
| #include <memory>
|
|
|
| @@ -29,7 +29,7 @@ std::unique_ptr<V8StackTrace> captureStackTrace(bool full)
|
| if (!data->threadDebugger() || !isolate->InContext())
|
| return nullptr;
|
| ScriptForbiddenScope::AllowUserAgentScript allowScripting;
|
| - return data->threadDebugger()->debugger()->captureStackTrace(full);
|
| + return data->threadDebugger()->v8Inspector()->captureStackTrace(full);
|
| }
|
|
|
| }
|
| @@ -70,7 +70,7 @@ std::unique_ptr<SourceLocation> SourceLocation::fromMessage(v8::Isolate* isolate
|
| std::unique_ptr<V8StackTrace> stackTrace = nullptr;
|
| V8PerIsolateData* data = V8PerIsolateData::from(isolate);
|
| if (data && data->threadDebugger())
|
| - stackTrace = data->threadDebugger()->debugger()->createStackTrace(stack);
|
| + stackTrace = data->threadDebugger()->v8Inspector()->createStackTrace(stack);
|
|
|
| int scriptId = message->GetScriptOrigin().ScriptID()->Value();
|
| if (!stack.IsEmpty() && stack->GetFrameCount() > 0) {
|
|
|