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/v8/qv8bindings.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/v8/qv8bindings.cpp')
-rw-r--r-- | src/qml/qml/v8/qv8bindings.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qml/qml/v8/qv8bindings.cpp b/src/qml/qml/v8/qv8bindings.cpp index e9a0ef9cb9..43d1e8654f 100644 --- a/src/qml/qml/v8/qv8bindings.cpp +++ b/src/qml/qml/v8/qv8bindings.cpp @@ -170,7 +170,6 @@ void QV8Bindings::Binding::update(QQmlPropertyPrivate::WriteFlags flags) DeleteWatcher watcher(this); ep->referenceScarceResources(); - v8::HandleScope handle_scope; v8::Local<v8::Value> result = evaluate(context, v8::Handle<v8::Function>::Cast(parent->functions()->Get(instruction->value)), @@ -242,8 +241,6 @@ QV8Bindings::QV8Bindings(QQmlCompiledData::V8Program *program, QV8Engine *engine = QQmlEnginePrivate::getV8Engine(context->engine); if (program->bindings.IsEmpty()) { - v8::HandleScope handle_scope; - v8::Local<v8::Script> script; bool compileFailed = false; { |