| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp
|
| index 47cc440cad4994dfaf4282bc4ea9960e549b97b4..fbc89c8d9bbed12e6f96663219758da085a5b7a5 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.cpp
|
| @@ -97,7 +97,7 @@ static void keysMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "keys", "TestInterfaceGarbageCollected", info.Holder(), info.GetIsolate());
|
| TestInterfaceGarbageCollected* impl = V8TestInterfaceGarbageCollected::toImpl(info.Holder());
|
| - ScriptState* scriptState = ScriptState::forHolderObject(info);
|
| + ScriptState* scriptState = ScriptState::forReceiverObject(info);
|
| Iterator* result = impl->keysForBinding(scriptState, exceptionState);
|
| if (exceptionState.hadException()) {
|
| exceptionState.throwIfNeeded();
|
| @@ -115,7 +115,7 @@ static void valuesMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "values", "TestInterfaceGarbageCollected", info.Holder(), info.GetIsolate());
|
| TestInterfaceGarbageCollected* impl = V8TestInterfaceGarbageCollected::toImpl(info.Holder());
|
| - ScriptState* scriptState = ScriptState::forHolderObject(info);
|
| + ScriptState* scriptState = ScriptState::forReceiverObject(info);
|
| Iterator* result = impl->valuesForBinding(scriptState, exceptionState);
|
| if (exceptionState.hadException()) {
|
| exceptionState.throwIfNeeded();
|
| @@ -133,7 +133,7 @@ static void entriesMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "entries", "TestInterfaceGarbageCollected", info.Holder(), info.GetIsolate());
|
| TestInterfaceGarbageCollected* impl = V8TestInterfaceGarbageCollected::toImpl(info.Holder());
|
| - ScriptState* scriptState = ScriptState::forHolderObject(info);
|
| + ScriptState* scriptState = ScriptState::forReceiverObject(info);
|
| Iterator* result = impl->entriesForBinding(scriptState, exceptionState);
|
| if (exceptionState.hadException()) {
|
| exceptionState.throwIfNeeded();
|
| @@ -167,7 +167,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();
|
| @@ -195,7 +195,7 @@ static void hasMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| if (!value.prepare())
|
| return;
|
| }
|
| - ScriptState* scriptState = ScriptState::forHolderObject(info);
|
| + ScriptState* scriptState = ScriptState::forReceiverObject(info);
|
| bool result = impl->hasForBinding(scriptState, value, exceptionState);
|
| if (exceptionState.hadException()) {
|
| exceptionState.throwIfNeeded();
|
| @@ -224,7 +224,7 @@ static void addMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| if (!value.prepare())
|
| return;
|
| }
|
| - ScriptState* scriptState = ScriptState::forHolderObject(info);
|
| + ScriptState* scriptState = ScriptState::forReceiverObject(info);
|
| TestInterfaceGarbageCollected* result = impl->addForBinding(scriptState, value, exceptionState);
|
| if (exceptionState.hadException()) {
|
| exceptionState.throwIfNeeded();
|
| @@ -242,7 +242,7 @@ static void clearMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "clear", "TestInterfaceGarbageCollected", info.Holder(), info.GetIsolate());
|
| TestInterfaceGarbageCollected* impl = V8TestInterfaceGarbageCollected::toImpl(info.Holder());
|
| - ScriptState* scriptState = ScriptState::forHolderObject(info);
|
| + ScriptState* scriptState = ScriptState::forReceiverObject(info);
|
| impl->clearForBinding(scriptState, exceptionState);
|
| if (exceptionState.hadException()) {
|
| exceptionState.throwIfNeeded();
|
| @@ -270,7 +270,7 @@ static void deleteMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| if (!value.prepare())
|
| return;
|
| }
|
| - ScriptState* scriptState = ScriptState::forHolderObject(info);
|
| + ScriptState* scriptState = ScriptState::forReceiverObject(info);
|
| bool result = impl->deleteForBinding(scriptState, value, exceptionState);
|
| if (exceptionState.hadException()) {
|
| exceptionState.throwIfNeeded();
|
| @@ -288,7 +288,7 @@ static void iteratorMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "iterator", "TestInterfaceGarbageCollected", info.Holder(), info.GetIsolate());
|
| TestInterfaceGarbageCollected* impl = V8TestInterfaceGarbageCollected::toImpl(info.Holder());
|
| - ScriptState* scriptState = ScriptState::forHolderObject(info);
|
| + ScriptState* scriptState = ScriptState::forReceiverObject(info);
|
| Iterator* result = impl->iterator(scriptState, exceptionState);
|
| if (exceptionState.hadException()) {
|
| exceptionState.throwIfNeeded();
|
|
|