Index: Source/bindings/v8/custom/V8DeviceOrientationEventCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8DeviceOrientationEventCustom.cpp b/Source/bindings/v8/custom/V8DeviceOrientationEventCustom.cpp |
index 0418b31c6fc612cda503e1330f510df93f1efe19..ce142afa8672068e970c217421c7a4c3631940e0 100644 |
--- a/Source/bindings/v8/custom/V8DeviceOrientationEventCustom.cpp |
+++ b/Source/bindings/v8/custom/V8DeviceOrientationEventCustom.cpp |
@@ -35,7 +35,7 @@ namespace WebCore { |
void V8DeviceOrientationEvent::initDeviceOrientationEventMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
DeviceOrientationEvent* impl = V8DeviceOrientationEvent::toNative(info.Holder()); |
- 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(); |
// If alpha, beta, gamma or absolute are null or undefined, mark them as not provided. |