[VizHitTesting] Update cc::Layer hit_testable logic in ui::Layer
Prior to crrev.com/c/1452790, a cc::Layer created by ui::Layer was hit testable if its type_ != LAYER_NOT_DRAWN. That patch updated the logic with new hit testable critia but it missed the initial assignment. This patch addresses that issue and defines a helper function to check hit testability to avoid breakage in the future. Bug: 924294 Change-Id: I6957539cbfddc12ae24a35c451186c21ff85246c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1785080Reviewed-by:Sadrul Chowdhury <sadrul@chromium.org> Commit-Queue: Yi Gu <yigu@chromium.org> Cr-Commit-Position: refs/heads/master@{#696029}
Showing
Please register or sign in to comment