| Index: Source/bindings/tests/results/V8TestSpecialOperationsInt.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestSpecialOperationsInt.cpp b/Source/bindings/tests/results/V8TestSpecialOperationsInt.cpp
|
| index da49bd9490a06cb18fc1dba296d8971b3323a52e..306e88d1e8d8166bc536235436dfbc54058279ad 100644
|
| --- a/Source/bindings/tests/results/V8TestSpecialOperationsInt.cpp
|
| +++ b/Source/bindings/tests/results/V8TestSpecialOperationsInt.cpp
|
| @@ -73,11 +73,11 @@ template <typename T> void V8_USE(T) { }
|
|
|
| static void indexedPropertyGetter(uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - TestSpecialOperationsInt* collection = V8TestSpecialOperationsInt::toNative(info.Holder());
|
| - int element = collection->anonymousIndexedGetter(index);
|
| + TestSpecialOperationsInt* imp = V8TestSpecialOperationsInt::toNative(info.Holder());
|
| + int result = imp->anonymousIndexedGetter(index);
|
| if ()
|
| return;
|
| - v8SetReturnValueInt(info, element);
|
| + v8SetReturnValueInt(info, result);
|
| }
|
|
|
| static void indexedPropertyGetterCallback(uint32_t index, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -89,10 +89,10 @@ static void indexedPropertyGetterCallback(uint32_t index, const v8::PropertyCall
|
|
|
| static void indexedPropertySetter(uint32_t index, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| - TestSpecialOperationsInt* collection = V8TestSpecialOperationsInt::toNative(info.Holder());
|
| + TestSpecialOperationsInt* imp = V8TestSpecialOperationsInt::toNative(info.Holder());
|
| V8TRYCATCH_EXCEPTION_VOID(unsigned, propertyValue, toUInt32(jsValue, exceptionState), exceptionState);
|
| ExceptionState exceptionState(info.Holder(), info.GetIsolate());
|
| - bool result = collection->anonymousIndexedSetter(index, propertyValue);
|
| + bool result = imp->anonymousIndexedSetter(index, propertyValue);
|
| if (!result)
|
| return;
|
| v8SetReturnValue(info, jsValue);
|
| @@ -114,12 +114,12 @@ static void namedPropertyGetter(v8::Local<v8::String> name, const v8::PropertyCa
|
| if (info.Holder()->HasRealNamedProperty(name))
|
| return;
|
|
|
| - TestSpecialOperationsInt* collection = V8TestSpecialOperationsInt::toNative(info.Holder());
|
| + TestSpecialOperationsInt* imp = V8TestSpecialOperationsInt::toNative(info.Holder());
|
| AtomicString propertyName = toCoreAtomicString(name);
|
| - int element = collection->anonymousNamedGetter(propertyName);
|
| + int result = imp->anonymousNamedGetter(propertyName);
|
| if ()
|
| return;
|
| - v8SetReturnValueInt(info, element);
|
| + v8SetReturnValueInt(info, result);
|
| }
|
|
|
| static void namedPropertyGetterCallback(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| @@ -138,11 +138,11 @@ static void namedPropertySetter(v8::Local<v8::String> name, v8::Local<v8::Value>
|
| if (info.Holder()->HasRealNamedProperty(name))
|
| return;
|
|
|
| - TestSpecialOperationsInt* collection = V8TestSpecialOperationsInt::toNative(info.Holder());
|
| + TestSpecialOperationsInt* imp = V8TestSpecialOperationsInt::toNative(info.Holder());
|
| V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, propertyName, name);
|
| V8TRYCATCH_EXCEPTION_VOID(unsigned, propertyValue, toUInt32(jsValue, exceptionState), exceptionState);
|
| ExceptionState exceptionState(info.Holder(), info.GetIsolate());
|
| - bool result = collection->anonymousNamedSetter(propertyName, propertyValue);
|
| + bool result = imp->anonymousNamedSetter(propertyName, propertyValue);
|
| if (!result)
|
| return;
|
| v8SetReturnValue(info, jsValue);
|
| @@ -157,10 +157,10 @@ static void namedPropertySetterCallback(v8::Local<v8::String> name, v8::Local<v8
|
|
|
| static void namedPropertyQuery(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Integer>& info)
|
| {
|
| - TestSpecialOperationsInt* collection = V8TestSpecialOperationsInt::toNative(info.Holder());
|
| + TestSpecialOperationsInt* imp = V8TestSpecialOperationsInt::toNative(info.Holder());
|
| AtomicString propertyName = toCoreAtomicString(name);
|
| ExceptionState exceptionState(info.Holder(), info.GetIsolate());
|
| - bool result = collection->namedPropertyQuery(propertyName, exceptionState);
|
| + bool result = imp->namedPropertyQuery(propertyName, exceptionState);
|
| if (exceptionState.throwIfNeeded())
|
| return;
|
| if (!result)
|
| @@ -177,10 +177,10 @@ static void namedPropertyQueryCallback(v8::Local<v8::String> name, const v8::Pro
|
|
|
| static void namedPropertyEnumerator(const v8::PropertyCallbackInfo<v8::Array>& info)
|
| {
|
| - TestSpecialOperationsInt* collection = V8TestSpecialOperationsInt::toNative(info.Holder());
|
| + TestSpecialOperationsInt* imp = V8TestSpecialOperationsInt::toNative(info.Holder());
|
| Vector<String> names;
|
| ExceptionState exceptionState(info.Holder(), info.GetIsolate());
|
| - collection->namedPropertyEnumerator(names, exceptionState);
|
| + imp->namedPropertyEnumerator(names, exceptionState);
|
| if (exceptionState.throwIfNeeded())
|
| return;
|
| v8::Handle<v8::Array> v8names = v8::Array::New(info.GetIsolate(), names.size());
|
|
|