Index: Source/bindings/core/v8/custom/V8ElementCustom.cpp |
diff --git a/Source/bindings/core/v8/custom/V8ElementCustom.cpp b/Source/bindings/core/v8/custom/V8ElementCustom.cpp |
index 270d2fc535c067de13e755f14bec1371dd62e00e..dfe4ab6d146662606a6f9280b01432110d8706aa 100644 |
--- a/Source/bindings/core/v8/custom/V8ElementCustom.cpp |
+++ b/Source/bindings/core/v8/custom/V8ElementCustom.cpp |
@@ -118,7 +118,7 @@ void animate4Method(const v8::FunctionCallbackInfo<v8::Value>& info) |
TONATIVE_VOID(AnimationEffect*, effect, V8AnimationEffect::toImplWithTypeCheck(info.GetIsolate(), info[0])); |
TONATIVE_VOID(Dictionary, timingInput, Dictionary(info[1], info.GetIsolate())); |
if (!timingInput.isUndefinedOrNull() && !timingInput.isObject()) { |
- V8ThrowException::throwTypeError(ExceptionMessages::failedToExecute("animate", "Element", "parameter 2 ('timingInput') is not an object."), info.GetIsolate()); |
+ V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::failedToExecute("animate", "Element", "parameter 2 ('timingInput') is not an object.")); |
return; |
} |
v8SetReturnValueFast(info, WTF::getPtr(ElementAnimation::animate(*impl, effect, timingInput)), impl); |