Using folly object in configureForAndroid()'

Reviewed By: mhahnenberg, dcaspi

Differential Revision: D3006980

fb-gh-sync-id: ad97fa2b7c122f48dc4d72068df84cfa63f8dbd9
fbshipit-source-id: ad97fa2b7c122f48dc4d72068df84cfa63f8dbd9
This commit is contained in:
Micha? Gregorczyk 2016-04-08 06:19:50 -07:00 committed by Facebook Github Bot 8
parent b7e6444ba2
commit 7b3a371ef1
1 changed files with 1 additions and 2 deletions

View File

@ -156,8 +156,7 @@ void JSCExecutor::destroy() {
void JSCExecutor::initOnJSVMThread() {
#if defined(WITH_FB_JSC_TUNING) && !defined(WITH_JSC_INTERNAL)
// TODO: Find a way to pass m_jscConfig to configureJSCForAndroid()
configureJSCForAndroid(m_jscConfig.getDefault("GCTimers", false).asBool());
configureJSCForAndroid(m_jscConfig);
#endif
m_context = JSGlobalContextCreateInGroup(nullptr, nullptr);
s_globalContextRefToJSCExecutor[m_context] = this;