Index: Source/bindings/v8/custom/V8DeviceMotionEventCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8DeviceMotionEventCustom.cpp b/Source/bindings/v8/custom/V8DeviceMotionEventCustom.cpp |
index 047cad193ea70c220b476b7ef7bed890ec4d9f16..39b98813d250f1555bbfcb8f0bf0b9c587e678f2 100644 |
--- a/Source/bindings/v8/custom/V8DeviceMotionEventCustom.cpp |
+++ b/Source/bindings/v8/custom/V8DeviceMotionEventCustom.cpp |
@@ -104,7 +104,7 @@ void V8DeviceMotionEvent::initDeviceMotionEventMethodCustom(const v8::FunctionCa |
{ |
DeviceMotionEvent* impl = V8DeviceMotionEvent::toNative(info.Holder()); |
v8::Isolate* isolate = info.GetIsolate(); |
- V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, type, info[0]); |
+ V8STRINGRESOURCE_PREPARE_VOID(V8StringResource<>, type, info[0]); |
bool bubbles = info[1]->BooleanValue(); |
bool cancelable = info[2]->BooleanValue(); |
RefPtrWillBeRawPtr<DeviceMotionData::Acceleration> acceleration = readAccelerationArgument(info[3], isolate); |