aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4dateobject.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-10-20 16:00:56 +0200
committerLars Knoll <lars.knoll@qt.io>2017-11-07 09:00:37 +0000
commita59d9a7eacea3614462eb910e03351cbb9d34b75 (patch)
tree6ccb0dedfc7fd12279183aa5e5f15413c0b5e7df /src/qml/jsruntime/qv4dateobject.cpp
parent98271afabd409defee3b1f09158e64fabbc35070 (diff)
Get rid of JSCallData::call()
Change-Id: I6b99e9a7102b3dcb6a7699f54b6456eba6248699 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4dateobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4dateobject.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4dateobject.cpp b/src/qml/jsruntime/qv4dateobject.cpp
index 6c971195f6..436950bf28 100644
--- a/src/qml/jsruntime/qv4dateobject.cpp
+++ b/src/qml/jsruntime/qv4dateobject.cpp
@@ -1451,9 +1451,9 @@ ReturnedValue DatePrototype::method_toJSON(const BuiltinFunction *b, CallData *c
if (!toIso)
return v4->throwTypeError();
- JSCallData jsCall(scope, toIso);
- jsCall->thisObject = callData->thisObject;
- return jsCall.call();
+ JSCallData jsCallData(scope, toIso);
+ jsCallData->thisObject = callData->thisObject;
+ return toIso->call(jsCallData);
}
void DatePrototype::timezoneUpdated()