aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/v8/qv8contextwrapper.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-05-24 18:14:58 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-05-26 02:47:09 +0200
commit805aa4df3544591afd8c822a51abd142f9008f01 (patch)
treee59c7cfb3eecb39e1eefbadbd1100a9e5fbc8c99 /src/qml/qml/v8/qv8contextwrapper.cpp
parentde6642b1a97840e204f9d45275ca29a859a890d0 (diff)
Remove some unused code
Change-Id: I2d3d4cbc69d2a6e5d8b33a5ac23f24bcf19418ec Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/v8/qv8contextwrapper.cpp')
-rw-r--r--src/qml/qml/v8/qv8contextwrapper.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/qml/qml/v8/qv8contextwrapper.cpp b/src/qml/qml/v8/qv8contextwrapper.cpp
index 7bafd78ddc..03cedf0303 100644
--- a/src/qml/qml/v8/qv8contextwrapper.cpp
+++ b/src/qml/qml/v8/qv8contextwrapper.cpp
@@ -161,13 +161,6 @@ void QV8ContextWrapper::init(QV8Engine *engine)
ft->InstanceTemplate()->SetFallbackPropertyHandler(NullGetter, NullSetter);
m_urlConstructor = ft->GetFunction()->v4Value();
}
- {
- v8::Handle<v8::Object> sharedContext = m_constructor.value().asFunctionObject()->newInstance();
- QV8ContextResource *r = new QV8ContextResource(engine, 0, 0);
- r->isSharedContext = true;
- sharedContext->SetExternalResource(r);
- m_sharedContext = sharedContext->v4Value();
- }
}
QV4::Value QV8ContextWrapper::qmlScope(QQmlContextData *ctxt, QObject *scope)