Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Unified Diff: Source/bindings/modules/v8/custom/V8SQLTransactionCustom.cpp

Issue 970403003: bindings: Use V8 MaybeLocal APIs in V8DeviceMotionEventCustom (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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))
« Source/bindings/core/v8/V8MaybeLocalToLocal.h ('K') | « Source/bindings/core/v8/v8.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698