Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp |
index 416e5074abb859c9a4629d1793e8821de79d2eca..1639a4e0c2e993bdf76a2f8ea37f078e8fb76c9b 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp |
@@ -1786,7 +1786,7 @@ static void toJSONMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
ExceptionState exceptionState(ExceptionState::ExecutionContext, "toJSON", "TestInterface", info.Holder(), info.GetIsolate()); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); |
- ScriptState* scriptState = ScriptState::forHolderObject(info); |
+ ScriptState* scriptState = ScriptState::forReceiverObject(info); |
ScriptValue result = impl->toJSONForBinding(scriptState, exceptionState); |
if (exceptionState.hadException()) { |
exceptionState.throwIfNeeded(); |
@@ -1815,7 +1815,7 @@ static void iteratorMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
ExceptionState exceptionState(ExceptionState::ExecutionContext, "iterator", "TestInterface", info.Holder(), info.GetIsolate()); |
TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); |
- ScriptState* scriptState = ScriptState::forHolderObject(info); |
+ ScriptState* scriptState = ScriptState::forReceiverObject(info); |
Iterator* result = impl->iterator(scriptState, exceptionState); |
if (exceptionState.hadException()) { |
exceptionState.throwIfNeeded(); |