Index: Source/bindings/v8/custom/V8DocumentCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8DocumentCustom.cpp b/Source/bindings/v8/custom/V8DocumentCustom.cpp |
index 1cb3282f516b17c013a8374583357fce3828fb8e..2dfb0f183d3ad52b63276180f162311410bb900d 100644 |
--- a/Source/bindings/v8/custom/V8DocumentCustom.cpp |
+++ b/Source/bindings/v8/custom/V8DocumentCustom.cpp |
@@ -60,7 +60,7 @@ namespace WebCore { |
void V8Document::evaluateMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
RefPtr<Document> document = V8Document::toNative(info.Holder()); |
- ExceptionState exceptionState(info.Holder(), info.GetIsolate()); |
+ ExceptionState exceptionState(ExceptionState::ExecutionContext, "evaluate", "Document", info.Holder(), info.GetIsolate()); |
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, expression, info[0]); |
RefPtr<Node> contextNode; |
if (V8Node::hasInstance(info[1], info.GetIsolate(), worldType(info.GetIsolate()))) |