Simplify TargetIsFrame function in core/input/event_handler.cc
Driven-by CL, and follow up of jbroman's remark in [1]. This CL simplifies TargetIsFrame function in core/input/event_handler.cc, given that it produces two values, and the usage always checks both, even though the function returns true if it produces a non-null value. [1] https://crrev.com.com/c/1487391/3/third_party/blink/renderer/core/input/event_handler.cc BUG=None Change-Id: Ib556803d078fad3fd5b48dbdb1e6a4e5e6a1ed15 Reviewed-on: https://chromium-review.googlesource.com/c/1496215 Commit-Queue: Antonio Gomes <tonikitoo@igalia.com> Reviewed-by:Jeremy Roman <jbroman@chromium.org> Cr-Commit-Position: refs/heads/master@{#636945}
Showing
Please register or sign in to comment