From 2a8de9d8d85c5ce3e9c61fd8c0e957521f6a0846 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 28 Aug 2015 12:58:08 +0200 Subject: Convert FunctionObjects to new allocation syntax Change-Id: I269c20abdc7f9eb0d71a2d2d485d622b65405762 Reviewed-by: Simon Hausmann --- src/qml/qml/qqmlxmlhttprequest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/qml/qqmlxmlhttprequest.cpp') diff --git a/src/qml/qml/qqmlxmlhttprequest.cpp b/src/qml/qml/qqmlxmlhttprequest.cpp index de7741675b..c131daab32 100644 --- a/src/qml/qml/qqmlxmlhttprequest.cpp +++ b/src/qml/qml/qqmlxmlhttprequest.cpp @@ -2034,7 +2034,7 @@ void *qt_add_qmlxmlhttprequest(ExecutionEngine *v4) { Scope scope(v4); - Scoped ctor(scope, v4->memoryManager->alloc(v4)); + Scoped ctor(scope, v4->memoryManager->allocObject(v4)); ScopedString s(scope, v4->newString(QStringLiteral("XMLHttpRequest"))); v4->globalObject->defineReadonlyProperty(s, ctor); -- cgit v1.2.3