diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-03-25 21:06:18 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-04-24 15:21:36 +0000 |
commit | 1af88df0725b2b6aca5db43a0fe3e31c553025b8 (patch) | |
tree | 745e2d291069827638c810247475e95856d85ebd /src/qml/jsruntime/qv4dataview.cpp | |
parent | f9440c704ed191a38076c68480308b90147a7673 (diff) |
Move constructor objects onto the js stack
Change-Id: I828c5f7407d90cd5df1a8fd89a0ca35074fbde43
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4dataview.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4dataview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4dataview.cpp b/src/qml/jsruntime/qv4dataview.cpp index a7c0df1432..7d1a13c8fe 100644 --- a/src/qml/jsruntime/qv4dataview.cpp +++ b/src/qml/jsruntime/qv4dataview.cpp @@ -77,7 +77,7 @@ ReturnedValue DataViewCtor::call(const Managed *that, CallData *callData) Heap::DataView::DataView(ExecutionEngine *e) - : Heap::Object(e->emptyClass, e->dataViewPrototype.objectValue()), + : Heap::Object(e->emptyClass, e->dataViewPrototype()), buffer(0), byteLength(0), byteOffset(0) |