From 271e0d56bce54c0a662fe0e948f28a1886b14a55 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 10 Aug 2018 15:41:59 +0200 Subject: Fix bugs in ArrayBuffer.prototype.slice Change-Id: I6de8031a04c372a5309a878811da55b93b53da3d Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4object_p.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/qml/jsruntime/qv4object_p.h') diff --git a/src/qml/jsruntime/qv4object_p.h b/src/qml/jsruntime/qv4object_p.h index 431c378334..3dcee8addf 100644 --- a/src/qml/jsruntime/qv4object_p.h +++ b/src/qml/jsruntime/qv4object_p.h @@ -361,6 +361,8 @@ public: bool isConcatSpreadable() const; bool isArray() const; + const FunctionObject *speciesConstructor(Scope &scope, const FunctionObject *defaultConstructor) const; + protected: static ReturnedValue virtualCallAsConstructor(const FunctionObject *f, const Value *argv, int argc, const Value *); -- cgit v1.2.3