| Index: Source/bindings/core/v8/ScriptCallStackFactory.cpp
|
| diff --git a/Source/bindings/core/v8/ScriptCallStackFactory.cpp b/Source/bindings/core/v8/ScriptCallStackFactory.cpp
|
| index eb51c8d04262a85b919371909dde5e361056816f..be4c4a6c5d163cae7c95cdd0e56dc1271b4221b1 100644
|
| --- a/Source/bindings/core/v8/ScriptCallStackFactory.cpp
|
| +++ b/Source/bindings/core/v8/ScriptCallStackFactory.cpp
|
| @@ -84,7 +84,7 @@ static void toScriptCallFramesVector(v8::Handle<v8::StackTrace> stackTrace, Vect
|
| }
|
| }
|
|
|
| -static PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(v8::Handle<v8::StackTrace> stackTrace, size_t maxStackSize, bool emptyStackIsAllowed, v8::Isolate* isolate)
|
| +static PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(v8::Isolate* isolate, v8::Handle<v8::StackTrace> stackTrace, size_t maxStackSize, bool emptyStackIsAllowed)
|
| {
|
| ASSERT(isolate->InContext());
|
| v8::HandleScope scope(isolate);
|
| @@ -96,9 +96,9 @@ static PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(v8::Handle<
|
| return callStack.release();
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(v8::Handle<v8::StackTrace> stackTrace, size_t maxStackSize, v8::Isolate* isolate)
|
| +PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(v8::Isolate* isolate, v8::Handle<v8::StackTrace> stackTrace, size_t maxStackSize)
|
| {
|
| - return createScriptCallStack(stackTrace, maxStackSize, true, isolate);
|
| + return createScriptCallStack(isolate, stackTrace, maxStackSize, true);
|
| }
|
|
|
| PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(size_t maxStackSize, bool emptyStackIsAllowed)
|
| @@ -108,7 +108,7 @@ PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStack(size_t maxStackSiz
|
| return nullptr;
|
| v8::HandleScope handleScope(isolate);
|
| v8::Handle<v8::StackTrace> stackTrace(v8::StackTrace::CurrentStackTrace(isolate, maxStackSize, stackTraceOptions));
|
| - return createScriptCallStack(stackTrace, maxStackSize, emptyStackIsAllowed, isolate);
|
| + return createScriptCallStack(isolate, stackTrace, maxStackSize, emptyStackIsAllowed);
|
| }
|
|
|
| PassRefPtrWillBeRawPtr<ScriptCallStack> createScriptCallStackForConsole(size_t maxStackSize, bool emptyStackIsAllowed)
|
|
|