[ios] Do nothing if new TranslateStep is the same as the current state
This situation can be triggered by the Translate Infobar being shown and the page is translated when the user taps on the Translate button in the Overflow menu. In this situation, the new step (AFTER_TRANSLATE) matches the current state. Bug: 1033888 Change-Id: I4f330e8b32d75931551273218017019baacac21c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1975691 Commit-Queue: Sergio Collazos <sczs@chromium.org> Reviewed-by:Sergio Collazos <sczs@chromium.org> Auto-Submit: Chris Lu <thegreenfrog@chromium.org> Cr-Commit-Position: refs/heads/master@{#726510}
Showing
Please register or sign in to comment