| Index: third_party/WebKit/Source/bindings/core/v8/ScriptCallStackFactory.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptCallStackFactory.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptCallStackFactory.cpp
|
| index 5054bead7d504a0cd299215591e1e1366737edab..ad4a7ac48406f81717139a9e957353e9c37f23b7 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptCallStackFactory.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCallStackFactory.cpp
|
| @@ -77,20 +77,20 @@ static void toScriptCallFramesVector(v8::Local<v8::StackTrace> stackTrace, Vecto
|
| }
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(v8::Isolate* isolate, v8::Local<v8::StackTrace> stackTrace, size_t maxStackSize)
|
| +PassRefPtr<ScriptCallStack> createScriptCallStack(v8::Isolate* isolate, v8::Local<v8::StackTrace> stackTrace, size_t maxStackSize)
|
| {
|
| ASSERT(isolate->InContext());
|
| ASSERT(!stackTrace.IsEmpty());
|
| v8::HandleScope scope(isolate);
|
| Vector<ScriptCallFrame> scriptCallFrames;
|
| toScriptCallFramesVector(stackTrace, scriptCallFrames, maxStackSize, isolate);
|
| - RefPtrWillBeRawPtr<ScriptCallStack> callStack = ScriptCallStack::create(scriptCallFrames);
|
| + RefPtr<ScriptCallStack> callStack = ScriptCallStack::create(scriptCallFrames);
|
| if (InspectorInstrumentation::hasFrontends() && maxStackSize > 1)
|
| InspectorInstrumentation::appendAsyncCallStack(currentExecutionContext(isolate), callStack.get());
|
| return callStack.release();
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<ScriptCallStack> currentScriptCallStack(size_t maxStackSize)
|
| +PassRefPtr<ScriptCallStack> currentScriptCallStack(size_t maxStackSize)
|
| {
|
| v8::Isolate* isolate = v8::Isolate::GetCurrent();
|
| if (!isolate->InContext())
|
| @@ -100,7 +100,7 @@ PassRefPtrWillBeRawPtr<ScriptCallStack> currentScriptCallStack(size_t maxStackSi
|
| return createScriptCallStack(isolate, stackTrace, maxStackSize);
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<ScriptCallStack> currentScriptCallStackForConsole(size_t maxStackSize)
|
| +PassRefPtr<ScriptCallStack> currentScriptCallStackForConsole(size_t maxStackSize)
|
| {
|
| size_t stackSize = 1;
|
| if (InspectorInstrumentation::hasFrontends()) {
|
|
|