Use the QmlContext as the scope for QQmlV4Function calls
authorLars Knoll <lars.knoll@theqtcompany.com>
Wed, 12 Aug 2015 10:15:47 +0000 (12:15 +0200)
committerLars Knoll <lars.knoll@theqtcompany.com>
Thu, 20 Aug 2015 20:01:18 +0000 (20:01 +0000)
commitcc98678f404cd49750076795f39b31bfa36c80c3
tree33093822563101f6bdaed5e71677940f01624971
parent6dda1b425867b76fb001b11f43836c56e24ab7a4
Use the QmlContext as the scope for QQmlV4Function calls

This further reduces our dependency on the QQmlContextWrapper
and reduces storage requirements in the QObjectMethod.

Change-Id: I2c12d0a8818d81d45139f482caac8510ad8dfddc
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
src/qml/jsruntime/qv4qobjectwrapper.cpp
src/qml/jsruntime/qv4qobjectwrapper_p.h
src/qml/jsruntime/qv4script.cpp
src/qml/qml/v8/qv8engine_p.h