aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlxmlhttprequest.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2014-11-03 03:17:57 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-11-08 19:47:34 +0100
commitef8ad8234b481d3985d748f7607ef486e1af086f (patch)
tree56f6be7ff0746449847399903d2269ef4a08a741 /src/qml/qml/qqmlxmlhttprequest.cpp
parentaeb7d3ebbbc5ac16bf7b2f08874f13912b683007 (diff)
Move Data of FunctionObject and related classes into Heap
Change-Id: Iadf74f953798c1884e0ec704ccb7c70d971e3273 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlxmlhttprequest.cpp')
-rw-r--r--src/qml/qml/qqmlxmlhttprequest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlxmlhttprequest.cpp b/src/qml/qml/qqmlxmlhttprequest.cpp
index 587a58c313..b6727dc41a 100644
--- a/src/qml/qml/qqmlxmlhttprequest.cpp
+++ b/src/qml/qml/qqmlxmlhttprequest.cpp
@@ -1618,9 +1618,9 @@ DEFINE_OBJECT_VTABLE(QQmlXMLHttpRequestWrapper);
struct QQmlXMLHttpRequestCtor : public FunctionObject
{
- struct Data : FunctionObject::Data {
+ struct Data : Heap::FunctionObject {
Data(ExecutionEngine *engine)
- : FunctionObject::Data(engine->rootContext, QStringLiteral("XMLHttpRequest"))
+ : Heap::FunctionObject(engine->rootContext, QStringLiteral("XMLHttpRequest"))
{
setVTable(staticVTable());
Scope scope(engine);