Skip to content

Commit 81ad7e3

Browse files
committed
rollback of thumbtrack weak/strong diff
Summary: This reverts commit 43123a4. Test Plan: revert-hammer Reviewers: Subscribers: # Tip: You can add a project as a subscriber or reviewer by writing # "#projectname" in the appropriate field.
1 parent 09d0942 commit 81ad7e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/private/ThumbTrack/src/MDCThumbTrack.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -621,11 +621,11 @@ - (void)setValueFromThumbPosition:(CGPoint)position isTap:(BOOL)isTap {
621621
userGenerated:YES
622622
completion:^{
623623
__strong typeof(weakSelf) strongSelf = weakSelf;
624-
__strong typeof(strongSelf->_delegate) strongBlockDelegate = strongSelf->_delegate;
624+
__strong typeof(strongSelf->_delegate) strongDelegate = strongSelf->_delegate;
625625
[strongSelf sendDiscreteChangeAction];
626-
if (strongSelf && [strongBlockDelegate
626+
if (strongSelf && [strongDelegate
627627
respondsToSelector:@selector(thumbTrack:didAnimateToValue:)]) {
628-
[strongBlockDelegate thumbTrack:strongSelf didAnimateToValue:value];
628+
[strongDelegate thumbTrack:strongSelf didAnimateToValue:value];
629629
}
630630
}];
631631
}

0 commit comments

Comments
 (0)