| Index: Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp b/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
| index 7917ef8623679fd009bd7e1b8a397ea8d9da6d34..7d83d856fc37bb3c41361a5217e89fd87a3336ef 100644
|
| --- a/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
| @@ -365,7 +365,7 @@
|
| {
|
| v8::Handle<v8::Value> functionValue = info[0];
|
| int scopeIndex = info[1]->Int32Value();
|
| - V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithUndefinedOrNullCheck>, variableName, info[2]);
|
| + String variableName = toWebCoreStringWithUndefinedOrNullCheck(info[2]);
|
| v8::Handle<v8::Value> newValue = info[3];
|
|
|
| InjectedScriptHost* host = V8InjectedScriptHost::toNative(info.Holder());
|
| @@ -428,10 +428,9 @@
|
| if (!name->IsString() || !v8::Handle<v8::String>::Cast(name)->Length())
|
| name = function->GetInferredName();
|
| }
|
| - V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<WithUndefinedOrNullCheck>, nameResource, name);
|
| -
|
| - InjectedScriptHost* host = V8InjectedScriptHost::toNative(info.Holder());
|
| - host->monitorFunction(scriptId, lineNumber, columnNumber, nameResource);
|
| +
|
| + InjectedScriptHost* host = V8InjectedScriptHost::toNative(info.Holder());
|
| + host->monitorFunction(scriptId, lineNumber, columnNumber, toWebCoreStringWithUndefinedOrNullCheck(name));
|
| }
|
|
|
| void V8InjectedScriptHost::unmonitorFunctionMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
|
|
|