Chromium Code Reviews| Index: Source/bindings/modules/v8/custom/V8SQLTransactionCustom.cpp |
| diff --git a/Source/bindings/modules/v8/custom/V8SQLTransactionCustom.cpp b/Source/bindings/modules/v8/custom/V8SQLTransactionCustom.cpp |
| index 9c54c9e47b4a832dea4acb931fcc229ffc802fc3..de03e0e745579c3004f61bca19953822bb7fc3ec 100644 |
| --- a/Source/bindings/modules/v8/custom/V8SQLTransactionCustom.cpp |
| +++ b/Source/bindings/modules/v8/custom/V8SQLTransactionCustom.cpp |
| @@ -65,7 +65,8 @@ void V8SQLTransaction::executeSqlMethodCustom(const v8::FunctionCallbackInfo<v8: |
| } |
| uint32_t sqlArgsLength = 0; |
| - v8::Local<v8::Object> sqlArgsObject = info[1]->ToObject(info.GetIsolate()); |
| + v8::Local<v8::Object> sqlArgsObject; |
|
bashi
2015/03/04 04:42:11
It seems that vivekg@ is going to remove this cust
|
| + MAYBE_LOCAL_TO_LOCAL_VOID(info.GetIsolate()->GetCurrentContext(), info[1], sqlArgsObject); |
| TONATIVE_VOID(v8::Local<v8::Value>, length, sqlArgsObject->Get(v8AtomicString(info.GetIsolate(), "length"))); |
| if (isUndefinedOrNull(length)) |