Index: Source/bindings/modules/v8/custom/V8DeviceMotionEventCustom.cpp |
diff --git a/Source/bindings/modules/v8/custom/V8DeviceMotionEventCustom.cpp b/Source/bindings/modules/v8/custom/V8DeviceMotionEventCustom.cpp |
index 5f944ed71868e3cc94b8fb701baf42334b0671e3..e969ce309ce513e574816569658f5cb67585c725 100644 |
--- a/Source/bindings/modules/v8/custom/V8DeviceMotionEventCustom.cpp |
+++ b/Source/bindings/modules/v8/custom/V8DeviceMotionEventCustom.cpp |
@@ -129,7 +129,7 @@ void V8DeviceMotionEvent::initDeviceMotionEventMethodCustom(const v8::FunctionCa |
bool intervalProvided = !isUndefinedOrNull(info[6]); |
double interval = 0; |
if (intervalProvided) { |
- interval = toRestrictedDouble(info[6], exceptionState); |
+ interval = toRestrictedDouble(isolate, info[6], exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
} |