Change-Id: Ifc29ef18a173a210a8831b87ba3f1adcbe9911d6
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
return Value::fromObject(d);
}
-Value DateCtor::call(ExecutionContext *ctx)
+Value DateCtor::call(ExecutionContext *ctx, Value, Value *, int)
{
double t = currentTime();
return Value::fromString(ctx, ToString(t));
DateCtor(ExecutionContext *scope);
virtual Value construct(ExecutionContext *ctx, Value *args, int argc);
- virtual Value call(ExecutionContext *ctx);
+ virtual Value call(ExecutionContext *ctx, Value, Value *, int);
};
struct DatePrototype: DateObject