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 6b954e3af0b1995f7b56c99f86c9998953cd36e6..b7c5b0899459757827109de34e9e1ef43421e499 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; |
- std::unique_ptr<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(); |