Index: Source/core/inspector/JavaScriptCallFrame.cpp |
diff --git a/Source/core/inspector/JavaScriptCallFrame.cpp b/Source/core/inspector/JavaScriptCallFrame.cpp |
index 4dcfd1e2afd09382bb09f3b1eb5ef44208ddcdb4..ae2d659d8a8dee3175699a56178a529839ae59be 100644 |
--- a/Source/core/inspector/JavaScriptCallFrame.cpp |
+++ b/Source/core/inspector/JavaScriptCallFrame.cpp |
@@ -97,8 +97,7 @@ |
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")); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN(V8StringResource<WithUndefinedOrNullCheck>, name, result, String()); |
- return name; |
+ return toWebCoreStringWithUndefinedOrNullCheck(result); |
} |
v8::Handle<v8::Value> JavaScriptCallFrame::scopeChain() const |
@@ -126,8 +125,7 @@ |
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); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_RETURN(V8StringResource<WithUndefinedOrNullCheck>, resultString, result, String()); |
- return resultString; |
+ return toWebCoreStringWithUndefinedOrNullCheck(result); |
} |
bool JavaScriptCallFrame::isAtReturn() const |