V8: Minor cleanup
authorSimon Hausmann <simon.hausmann@nokia.com>
Mon, 12 Dec 2011 14:32:17 +0000 (15:32 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 12 Dec 2011 15:52:08 +0000 (16:52 +0100)
commited8b3c21cecd08d28ea1c978633069ce0b6b7767
tree4623c1fb063d2f0a75828933e074a736d8817cd5
parent0c4c295936e03fb1a3f2f0ec007a2253ae52f90d
V8: Minor cleanup

Moved context creation into the QV8Engine constructor body. That will make
it easier to execute other initialization stuff in the future, such as
per-thread isolate creation.

Change-Id: Id4aef76d3664a3810143907d2201203b18745a47
Reviewed-by: JÄ™drzej Nowacki <jedrzej.nowacki@nokia.com>
src/declarative/qml/v8/qscriptoriginalglobalobject_p.h
src/declarative/qml/v8/qv8engine.cpp