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>
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));