Index: Source/bindings/modules/v8/custom/V8SQLTransactionSyncCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp b/Source/bindings/modules/v8/custom/V8SQLTransactionSyncCustom.cpp |
similarity index 97% |
rename from Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp |
rename to Source/bindings/modules/v8/custom/V8SQLTransactionSyncCustom.cpp |
index 9b24721fa4117cc65ebda488b90b1a71e9b8f6c6..658f20e4c3c1aa468b277f05a172a87ebf874826 100644 |
--- a/Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp |
+++ b/Source/bindings/modules/v8/custom/V8SQLTransactionSyncCustom.cpp |
@@ -35,9 +35,9 @@ |
#include "bindings/v8/ExceptionState.h" |
#include "bindings/v8/V8Binding.h" |
#include "core/dom/ExceptionCode.h" |
-#include "modules/webdatabase/sqlite/SQLValue.h" |
#include "modules/webdatabase/DatabaseSync.h" |
#include "modules/webdatabase/SQLResultSet.h" |
+#include "modules/webdatabase/sqlite/SQLValue.h" |
#include "wtf/Vector.h" |
using namespace WTF; |
@@ -77,9 +77,9 @@ void V8SQLTransactionSync::executeSqlMethodCustom(const v8::FunctionCallbackInfo |
v8::Handle<v8::Integer> key = v8::Integer::New(info.GetIsolate(), i); |
TONATIVE_VOID(v8::Local<v8::Value>, value, sqlArgsObject->Get(key)); |
- if (value.IsEmpty() || value->IsNull()) |
+ if (value.IsEmpty() || value->IsNull()) { |
sqlValues.append(SQLValue()); |
- else if (value->IsNumber()) { |
+ } else if (value->IsNumber()) { |
TONATIVE_VOID(double, sqlValue, value->NumberValue()); |
sqlValues.append(SQLValue(sqlValue)); |
} else { |