From 7b3a371ef15dfb91469bf441fc64c36d3c81cc60 Mon Sep 17 00:00:00 2001 From: Micha? Gregorczyk Date: Fri, 8 Apr 2016 06:19:50 -0700 Subject: [PATCH] Using folly object in configureForAndroid()' Reviewed By: mhahnenberg, dcaspi Differential Revision: D3006980 fb-gh-sync-id: ad97fa2b7c122f48dc4d72068df84cfa63f8dbd9 fbshipit-source-id: ad97fa2b7c122f48dc4d72068df84cfa63f8dbd9 --- ReactAndroid/src/main/jni/react/JSCExecutor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ReactAndroid/src/main/jni/react/JSCExecutor.cpp b/ReactAndroid/src/main/jni/react/JSCExecutor.cpp index 9a247580d..d70876c64 100644 --- a/ReactAndroid/src/main/jni/react/JSCExecutor.cpp +++ b/ReactAndroid/src/main/jni/react/JSCExecutor.cpp @@ -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;