Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp |
index b7a963730119a36364988090c03562823f6db58c..416ebc005612fdda89a8e342ebc702a663e219fc 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface2.cpp |
@@ -238,7 +238,7 @@ static void keysMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
ExceptionState exceptionState(ExceptionState::ExecutionContext, "keys", "TestInterface2", info.Holder(), info.GetIsolate()); |
TestInterface2* impl = V8TestInterface2::toImpl(info.Holder()); |
- ScriptState* scriptState = ScriptState::forHolderObject(info); |
+ ScriptState* scriptState = ScriptState::forReceiverObject(info); |
Iterator* result = impl->keysForBinding(scriptState, exceptionState); |
if (exceptionState.hadException()) { |
exceptionState.throwIfNeeded(); |
@@ -256,7 +256,7 @@ static void valuesMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
ExceptionState exceptionState(ExceptionState::ExecutionContext, "values", "TestInterface2", info.Holder(), info.GetIsolate()); |
TestInterface2* impl = V8TestInterface2::toImpl(info.Holder()); |
- ScriptState* scriptState = ScriptState::forHolderObject(info); |
+ ScriptState* scriptState = ScriptState::forReceiverObject(info); |
Iterator* result = impl->valuesForBinding(scriptState, exceptionState); |
if (exceptionState.hadException()) { |
exceptionState.throwIfNeeded(); |
@@ -274,7 +274,7 @@ static void entriesMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
ExceptionState exceptionState(ExceptionState::ExecutionContext, "entries", "TestInterface2", info.Holder(), info.GetIsolate()); |
TestInterface2* impl = V8TestInterface2::toImpl(info.Holder()); |
- ScriptState* scriptState = ScriptState::forHolderObject(info); |
+ ScriptState* scriptState = ScriptState::forReceiverObject(info); |
Iterator* result = impl->entriesForBinding(scriptState, exceptionState); |
if (exceptionState.hadException()) { |
exceptionState.throwIfNeeded(); |
@@ -308,7 +308,7 @@ static void forEachMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
callback = ScriptValue(ScriptState::current(info.GetIsolate()), info[0]); |
thisArg = ScriptValue(ScriptState::current(info.GetIsolate()), info[1]); |
} |
- ScriptState* scriptState = ScriptState::forHolderObject(info); |
+ ScriptState* scriptState = ScriptState::forReceiverObject(info); |
impl->forEachForBinding(scriptState, ScriptValue(scriptState, info.Holder()), callback, thisArg, exceptionState); |
if (exceptionState.hadException()) { |
exceptionState.throwIfNeeded(); |
@@ -339,7 +339,7 @@ static void hasMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
return; |
} |
} |
- ScriptState* scriptState = ScriptState::forHolderObject(info); |
+ ScriptState* scriptState = ScriptState::forReceiverObject(info); |
bool result = impl->hasForBinding(scriptState, value, exceptionState); |
if (exceptionState.hadException()) { |
exceptionState.throwIfNeeded(); |
@@ -368,7 +368,7 @@ static void iteratorMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
ExceptionState exceptionState(ExceptionState::ExecutionContext, "iterator", "TestInterface2", info.Holder(), info.GetIsolate()); |
TestInterface2* impl = V8TestInterface2::toImpl(info.Holder()); |
- ScriptState* scriptState = ScriptState::forHolderObject(info); |
+ ScriptState* scriptState = ScriptState::forReceiverObject(info); |
Iterator* result = impl->iterator(scriptState, exceptionState); |
if (exceptionState.hadException()) { |
exceptionState.throwIfNeeded(); |