• Gauthier Ambard's avatar
    [iOS] Cleanup CRWTouchTrackingRecognizer delegates name · 1cb37a37
    Gauthier Ambard authored
    This CL changes the names of the touch tracking recognizers delegates
    name. The gesture recognizer has two delegates:
     1. The UIGestureRecognizerDelegate (self.delegate)
     2. The CRWTouchTrackingDelegate (self.touchTrackingDelegate)
    Prior to this CL, 1. was called using self.delegate and 2. was called
    using _delegate. This was very confusing as the reader could expect
    _delegate to be the ivar associated with self.delegate, not with
    self.touchTrackingDelegate.
    
    This CL cleans this by changing _delegate into _touchTrackingDelegate.
    
    Bug: none
    Change-Id: I24331d455f8cea61c117ea698e06f26fbc13ca6d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1732083
    Auto-Submit: Gauthier Ambard <gambard@chromium.org>
    Commit-Queue: Eugene But <eugenebut@chromium.org>
    Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#683622}
    1cb37a37
crw_web_controller.mm 87.5 KB