| Index: Source/core/inspector/JavaScriptCallFrame.cpp
|
| diff --git a/Source/core/inspector/JavaScriptCallFrame.cpp b/Source/core/inspector/JavaScriptCallFrame.cpp
|
| index ae2d659d8a8dee3175699a56178a529839ae59be..4dcfd1e2afd09382bb09f3b1eb5ef44208ddcdb4 100644
|
| --- a/Source/core/inspector/JavaScriptCallFrame.cpp
|
| +++ b/Source/core/inspector/JavaScriptCallFrame.cpp
|
| @@ -97,7 +97,8 @@ String JavaScriptCallFrame::functionName() const
|
| v8::HandleScope handleScope(m_isolate);
|
| v8::Context::Scope contextScope(m_debuggerContext.newLocal(m_isolate));
|
| v8::Handle<v8::Value> result = m_callFrame.newLocal(m_isolate)->Get(v8AtomicString(m_isolate, "functionName"));
|
| - return toWebCoreStringWithUndefinedOrNullCheck(result);
|
| + V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN(V8StringResource<WithUndefinedOrNullCheck>, name, result, String());
|
| + return name;
|
| }
|
|
|
| v8::Handle<v8::Value> JavaScriptCallFrame::scopeChain() const
|
| @@ -125,7 +126,8 @@ String JavaScriptCallFrame::stepInPositions() const
|
| v8::Handle<v8::Object> callFrame = m_callFrame.newLocal(m_isolate);
|
| v8::Handle<v8::Function> stepInPositions = v8::Handle<v8::Function>::Cast(callFrame->Get(v8AtomicString(m_isolate, "stepInPositions")));
|
| v8::Handle<v8::Value> result = stepInPositions->Call(callFrame, 0, 0);
|
| - return toWebCoreStringWithUndefinedOrNullCheck(result);
|
| + V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN(V8StringResource<WithUndefinedOrNullCheck>, resultString, result, String());
|
| + return resultString;
|
| }
|
|
|
| bool JavaScriptCallFrame::isAtReturn() const
|
|
|