diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2011-12-13 10:03:20 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-14 04:50:03 +0100 |
commit | 0321378516d6abdf17b81ec1678db3ef61057bed (patch) | |
tree | a4964b4cc3c290d054bbfdf97ef64ef3f043b604 /src/declarative/qml/v8/qv8engine.cpp | |
parent | 9db40605bc3c1ddb2715a53724c6fbc4d026e68b (diff) |
Cleanup: Remove redundant call to QV8GCCallback::registerGcPrologueCallback()
The same call is done a few lines above, and calling the function multiple times
has no effect after the first call.
Change-Id: Ibcf10ec88b0f5182d2963e4bfe532ff6a4e5a4ad
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
Diffstat (limited to 'src/declarative/qml/v8/qv8engine.cpp')
-rw-r--r-- | src/declarative/qml/v8/qv8engine.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/declarative/qml/v8/qv8engine.cpp b/src/declarative/qml/v8/qv8engine.cpp index 9ed14d3cf2..9b29aec38b 100644 --- a/src/declarative/qml/v8/qv8engine.cpp +++ b/src/declarative/qml/v8/qv8engine.cpp @@ -151,8 +151,6 @@ QV8Engine::QV8Engine(QJSEngine* qq, QJSEngine::ContextOwnership ownership) m_valueTypeWrapper.init(this); m_sequenceWrapper.init(this); - QV8GCCallback::registerGcPrologueCallback(); - { v8::Handle<v8::Value> v = global()->Get(v8::String::New("Object"))->ToObject()->Get(v8::String::New("getOwnPropertyNames")); m_getOwnPropertyNames = qPersistentNew<v8::Function>(v8::Handle<v8::Function>::Cast(v)); |