Remove ReactInstanceManager out of FabricJSIModuleProvider

Summary: easy cleanup in FabricJSIModuleProvider

Reviewed By: shergin

Differential Revision: D13838336

fbshipit-source-id: 12738572394e9c091e559817f9886fa3aaf23570
This commit is contained in:
David Vacca 2019-01-28 19:41:29 -08:00 committed by Facebook Github Bot
parent 2b356590f8
commit 0bf6a8e914
1 changed files with 0 additions and 4 deletions

View File

@ -1,7 +1,6 @@
// Copyright 2004-present Facebook. All Rights Reserved.
package com.facebook.react.fabric;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.bridge.JSIModuleProvider;
import com.facebook.react.bridge.JavaScriptContextHolder;
import com.facebook.react.bridge.ReactApplicationContext;
@ -34,17 +33,14 @@ import com.facebook.systrace.Systrace;
public class FabricJSIModuleProvider implements JSIModuleProvider<UIManager> {
private final ReactInstanceManager mReactInstanceManager;
private final JavaScriptContextHolder mJSContext;
private final ReactApplicationContext mReactApplicationContext;
private final ComponentFactoryDelegate mComponentFactoryDelegate;
public FabricJSIModuleProvider(
ReactInstanceManager reactInstanceManager,
ReactApplicationContext reactApplicationContext,
JavaScriptContextHolder jsContext,
ComponentFactoryDelegate componentFactoryDelegate) {
mReactInstanceManager = reactInstanceManager;
mReactApplicationContext = reactApplicationContext;
mJSContext = jsContext;
mComponentFactoryDelegate = componentFactoryDelegate;