Fix REGRESSION(r27885): Installer hits assertion failure in JavaScriptGlue.
[WebKit-https.git] / JavaScriptGlue / JSValueWrapper.cpp
index a101c8c..270c45a 100644 (file)
@@ -79,6 +79,7 @@ static ExecState* getThreadGlobalExecState()
     Interpreter* interpreter = static_cast<Interpreter*>(pthread_getspecific(interpreterKey));
     if (!interpreter) {
         interpreter = new Interpreter();
+        interpreter->setGlobalObject(new JSGlobalObject());
         interpreter->ref();
         pthread_setspecific(interpreterKey, interpreter);
     }