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..a7e579498efd1475aa4e05116b5b747b2a476510 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]); |
+ TOSTRING_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. |