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:
parent
2b356590f8
commit
0bf6a8e914
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue