| Index: Source/bindings/v8/PageScriptDebugServer.cpp
|
| diff --git a/Source/bindings/v8/PageScriptDebugServer.cpp b/Source/bindings/v8/PageScriptDebugServer.cpp
|
| index a0dddf94a74c3ecbe5b964859c81da92ee237e24..d8ecab0c533575286412567d7ed1482fc3041b42 100644
|
| --- a/Source/bindings/v8/PageScriptDebugServer.cpp
|
| +++ b/Source/bindings/v8/PageScriptDebugServer.cpp
|
| @@ -225,8 +225,8 @@
|
| return;
|
|
|
| // The name and source are in the JS event data.
|
| - V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithUndefinedOrNullCheck>, scriptName, callDebuggerMethod("getScriptName", WTF_ARRAY_LENGTH(argvEventData), argvEventData));
|
| - V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithUndefinedOrNullCheck>, script, callDebuggerMethod("getScriptSource", WTF_ARRAY_LENGTH(argvEventData), argvEventData));
|
| + String scriptName = toWebCoreStringWithUndefinedOrNullCheck(callDebuggerMethod("getScriptName", WTF_ARRAY_LENGTH(argvEventData), argvEventData));
|
| + String script = toWebCoreStringWithUndefinedOrNullCheck(callDebuggerMethod("getScriptSource", WTF_ARRAY_LENGTH(argvEventData), argvEventData));
|
|
|
| String preprocessedSource = m_scriptPreprocessor->preprocessSourceCode(script, scriptName);
|
|
|
|
|