| Index: Source/bindings/v8/custom/V8DocumentCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8DocumentCustom.cpp b/Source/bindings/v8/custom/V8DocumentCustom.cpp
|
| index b6cd50e2e718bd639b3e5131ef12260f54ed51b7..c290f4eea7b84a3060dd5799ab9862976e241fff 100644
|
| --- a/Source/bindings/v8/custom/V8DocumentCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8DocumentCustom.cpp
|
| @@ -64,7 +64,7 @@ void V8Document::evaluateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&
|
| {
|
| RefPtr<Document> document = V8Document::toNative(args.Holder());
|
| ExceptionState es(args.GetIsolate());
|
| - String expression = toWebCoreString(args[0]);
|
| + V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, expression, args[0]);
|
| RefPtr<Node> contextNode;
|
| if (V8Node::HasInstance(args[1], args.GetIsolate(), worldType(args.GetIsolate())))
|
| contextNode = V8Node::toNative(v8::Handle<v8::Object>::Cast(args[1]));
|
|
|