Skip to content

Commit

Permalink
Remove ReactInstanceManager out of FabricJSIModuleProvider
Browse files Browse the repository at this point in the history
Summary: easy cleanup in FabricJSIModuleProvider

Reviewed By: shergin

Differential Revision: D13838336

fbshipit-source-id: 12738572394e9c091e559817f9886fa3aaf23570
  • Loading branch information
mdvacca authored and facebook-github-bot committed Jan 29, 2019
1 parent 2b35659 commit 0bf6a8e
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -34,17 +33,14 @@

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;
Expand Down

0 comments on commit 0bf6a8e

Please sign in to comment.