mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
EZ cleanup of unnecessary variable (#52892)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52892 EZ cleanup of unnecessary variable changelog: [internal] internal Reviewed By: mlord93 Differential Revision: D79119092 fbshipit-source-id: 10b8675763dd203a832648ef3c99520dcdaa08da
This commit is contained in:
committed by
Facebook GitHub Bot
parent
daeb6e99ab
commit
8c1d191f1a
+2
-3
@@ -196,8 +196,6 @@ public class FabricUIManager
|
||||
|
||||
private boolean mDriveCxxAnimations = false;
|
||||
|
||||
private boolean mDriveCxxNativeAnimated = ReactNativeFeatureFlags.cxxNativeAnimatedEnabled();
|
||||
|
||||
private long mDispatchViewUpdatesTime = 0l;
|
||||
private long mCommitStartTime = 0l;
|
||||
private long mLayoutTime = 0l;
|
||||
@@ -1478,7 +1476,8 @@ public class FabricUIManager
|
||||
// There is a race condition here between getting/setting
|
||||
// `mDriveCxxAnimations` which shouldn't matter; it's safe to call
|
||||
// the mBinding method, unless mBinding has gone away.
|
||||
if ((mDriveCxxAnimations || mDriveCxxNativeAnimated) && mBinding != null) {
|
||||
if ((mDriveCxxAnimations || ReactNativeFeatureFlags.cxxNativeAnimatedEnabled())
|
||||
&& mBinding != null) {
|
||||
mBinding.driveCxxAnimations();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user