@@ -1898,7 +1898,7 @@ function resetWorkInProgressStack() {
18981898
18991899function finalizeRender ( lanes : Lanes , finalizationTime : number ) : void {
19001900 if ( enableProfilerTimer && enableComponentPerformanceTrack ) {
1901- if ( includesSyncLane ( lanes ) || includesBlockingLane ( lanes ) ) {
1901+ if ( includesBlockingLane ( lanes ) ) {
19021902 clampBlockingTimers ( finalizationTime ) ;
19031903 }
19041904 if ( includesTransitionLane ( lanes ) ) {
@@ -1963,7 +1963,7 @@ function prepareFreshStack(root: FiberRoot, lanes: Lanes): Fiber {
19631963 const previousUpdateTask = workInProgressUpdateTask ;
19641964
19651965 workInProgressUpdateTask = null ;
1966- if ( includesSyncLane ( lanes ) || includesBlockingLane ( lanes ) ) {
1966+ if ( includesBlockingLane ( lanes ) ) {
19671967 workInProgressUpdateTask = blockingUpdateTask ;
19681968 const clampedUpdateTime =
19691969 blockingUpdateTime >= 0 && blockingUpdateTime < blockingClampTime
@@ -1987,10 +1987,7 @@ function prepareFreshStack(root: FiberRoot, lanes: Lanes): Fiber {
19871987 lanes ,
19881988 previousUpdateTask ,
19891989 ) ;
1990- } else if (
1991- includesSyncLane ( animatingLanes ) ||
1992- includesBlockingLane ( animatingLanes )
1993- ) {
1990+ } else if ( includesBlockingLane ( animatingLanes ) ) {
19941991 // If this lane is still animating, log the time from previous render finishing to now as animating.
19951992 setCurrentTrackFromLanes ( SyncLane ) ;
19961993 logAnimatingPhase (
@@ -3719,10 +3716,8 @@ function finishedViewTransition(lanes: Lanes): void {
37193716 // If an affected track isn't in the middle of rendering or committing, log from the previous
37203717 // finished render until the end of the animation.
37213718 if (
3722- ( includesSyncLane ( lanes ) || includesBlockingLane ( lanes ) ) &&
3723- ! includesSyncLane ( workInProgressRootRenderLanes ) &&
3719+ includesBlockingLane ( lanes ) &&
37243720 ! includesBlockingLane ( workInProgressRootRenderLanes ) &&
3725- ! includesSyncLane ( pendingEffectsLanes ) &&
37263721 ! includesBlockingLane ( pendingEffectsLanes )
37273722 ) {
37283723 setCurrentTrackFromLanes ( SyncLane ) ;
0 commit comments