mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-05 22:38:59 +08:00
Remove deprecated java code
Reviewed By: AaaChiuuu Differential Revision: D4233198 fbshipit-source-id: 736d79be266e1b9f2d62e5fe6d901de47123cdc1
This commit is contained in:
committed by
Facebook Github Bot
parent
837814240b
commit
b58c8ad916
@@ -14,7 +14,6 @@ import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import com.facebook.common.logging.FLog;
|
||||
import com.facebook.csslayout.CSSLayoutContext;
|
||||
import com.facebook.csslayout.CSSDirection;
|
||||
import com.facebook.infer.annotation.Assertions;
|
||||
import com.facebook.react.animation.Animation;
|
||||
@@ -40,7 +39,6 @@ public class UIImplementation {
|
||||
|
||||
private final ShadowNodeRegistry mShadowNodeRegistry = new ShadowNodeRegistry();
|
||||
private final ViewManagerRegistry mViewManagers;
|
||||
private final CSSLayoutContext mLayoutContext = new CSSLayoutContext();
|
||||
private final UIViewOperationQueue mOperationsQueue;
|
||||
private final NativeViewHierarchyOptimizer mNativeViewHierarchyOptimizer;
|
||||
private final int[] mMeasureBuffer = new int[4];
|
||||
@@ -767,7 +765,7 @@ public class UIImplementation {
|
||||
.flush();
|
||||
double startTime = (double) System.nanoTime();
|
||||
try {
|
||||
cssRoot.calculateLayout(mLayoutContext);
|
||||
cssRoot.calculateLayout();
|
||||
} finally {
|
||||
Systrace.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE);
|
||||
mLayoutTimer = mLayoutTimer + ((double)System.nanoTime() - startTime)/ 1000000000.0;
|
||||
|
||||
Reference in New Issue
Block a user