| Index: third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.cpp
|
| index e00c482e488e53cd39da2feccdad6b0eaa8d6d9c..3e042a7005690bcd55c5a77a637091dc4c846037 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCallStack.cpp
|
| @@ -40,15 +40,6 @@
|
|
|
| namespace blink {
|
|
|
| -PassRefPtr<ScriptCallStack> ScriptCallStack::create(v8::Isolate* isolate, v8::Local<v8::StackTrace> stackTrace, size_t maxStackSize)
|
| -{
|
| - V8PerIsolateData* data = V8PerIsolateData::from(isolate);
|
| - if (!data->threadDebugger())
|
| - return nullptr;
|
| - OwnPtr<V8StackTrace> stack = data->threadDebugger()->debugger()->createStackTrace(stackTrace, maxStackSize);
|
| - return stack ? adoptRef(new ScriptCallStack(std::move(stack))) : nullptr;
|
| -}
|
| -
|
| PassRefPtr<ScriptCallStack> ScriptCallStack::capture(size_t maxStackSize)
|
| {
|
| v8::Isolate* isolate = v8::Isolate::GetCurrent();
|
|
|