Elide redundant Focus calls
This was the result of an infinite loop wherein - RWHVMac::OnFirstResponderChanged(true) would eventually call - (bunch of views::Views stuff) - RWHVMac::Focus() - Making the RWHVCocoa first responder, calling - RWHVMac::OnFirstResponderChanged(true) Early-out of redundant calls to RWHVMac::Focus, to break this loop. Bug: 998123 Change-Id: Iacf9abb6b03c07d11bd1168a7d9d7459a69fc554 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1848893Reviewed-by:Avi Drissman <avi@chromium.org> Commit-Queue: ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#704986}
Showing
Please register or sign in to comment