diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-05-03 14:14:57 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-05-03 14:40:38 +0200 |
commit | e537722604e41577dbf5625a35542a88d2576d63 (patch) | |
tree | 8dcade24c43e2e02fe5d01f3ec161621cc28fc52 /src/qml/qml/qqmlboundsignal.cpp | |
parent | bf51873870f94f56e8dccf25fea67b120f2db98f (diff) |
Remove v8::HandleScope
This class never made sense with v4... :)
Change-Id: Id597d791d1adf52cc821d6d46f57cb24d1acd343
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlboundsignal.cpp')
-rw-r--r-- | src/qml/qml/qqmlboundsignal.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlboundsignal.cpp b/src/qml/qml/qqmlboundsignal.cpp index d0b7109891..3e952c6458 100644 --- a/src/qml/qml/qqmlboundsignal.cpp +++ b/src/qml/qml/qqmlboundsignal.cpp @@ -140,7 +140,6 @@ QString QQmlBoundSignalExpression::expression() const { if (m_expressionFunctionValid) { Q_ASSERT (context() && engine()); - v8::HandleScope handle_scope; return m_v8function->v4Value().toQString(); } else if (!m_expressionUtf8.isEmpty()) { return QString::fromUtf8(m_expressionUtf8); @@ -162,7 +161,6 @@ void QQmlBoundSignalExpression::evaluate(void **a) ep->referenceScarceResources(); // "hold" scarce resources in memory during evaluation. { - v8::HandleScope handle_scope; if (!m_expressionFunctionValid) { //TODO: look at using the property cache here (as in the compiler) |