| Index: Source/bindings/modules/v8/custom/V8SQLResultSetRowListCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8SQLResultSetRowListCustom.cpp b/Source/bindings/modules/v8/custom/V8SQLResultSetRowListCustom.cpp
|
| similarity index 87%
|
| rename from Source/bindings/v8/custom/V8SQLResultSetRowListCustom.cpp
|
| rename to Source/bindings/modules/v8/custom/V8SQLResultSetRowListCustom.cpp
|
| index a6fed4417591f1fae65816203dbb162b8e92889b..8233f8c26650a0f1ee4009a393eb370eaa202d9a 100644
|
| --- a/Source/bindings/v8/custom/V8SQLResultSetRowListCustom.cpp
|
| +++ b/Source/bindings/modules/v8/custom/V8SQLResultSetRowListCustom.cpp
|
| @@ -70,18 +70,18 @@ void V8SQLResultSetRowList::itemMethodCustom(const v8::FunctionCallbackInfo<v8::
|
| for (unsigned i = 0; i < numColumns; ++i) {
|
| const SQLValue& sqlValue = rowList->values()[valuesIndex + i];
|
| v8::Handle<v8::Value> value;
|
| - switch(sqlValue.type()) {
|
| - case SQLValue::StringValue:
|
| - value = v8String(info.GetIsolate(), sqlValue.string());
|
| - break;
|
| - case SQLValue::NullValue:
|
| - value = v8::Null(info.GetIsolate());
|
| - break;
|
| - case SQLValue::NumberValue:
|
| - value = v8::Number::New(info.GetIsolate(), sqlValue.number());
|
| - break;
|
| - default:
|
| - ASSERT_NOT_REACHED();
|
| + switch (sqlValue.type()) {
|
| + case SQLValue::StringValue:
|
| + value = v8String(info.GetIsolate(), sqlValue.string());
|
| + break;
|
| + case SQLValue::NullValue:
|
| + value = v8::Null(info.GetIsolate());
|
| + break;
|
| + case SQLValue::NumberValue:
|
| + value = v8::Number::New(info.GetIsolate(), sqlValue.number());
|
| + break;
|
| + default:
|
| + ASSERT_NOT_REACHED();
|
| }
|
|
|
| item->Set(v8String(info.GetIsolate(), rowList->columnNames()[i]), value, static_cast<v8::PropertyAttribute>(v8::DontDelete | v8::ReadOnly));
|
|
|