[DL]: Add NearestLockedInclusiveAncestor to DisplayLockUtilities
This CL adds a new function, NearestLockedInclusiveAncestor, to DisplayLockUtilties, so that it can be reused in multiple places (example: https://chromium-review.googlesource.com/c/chromium/src/+/1528123/2/third_party/blink/renderer/core/inspector/inspector_highlight.cc#291) Bug: 882663 Change-Id: Ia7408f10635f7304cebee483c14773c626d6bec3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1528126Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Reviewed-by:
vmpstr <vmpstr@chromium.org> Commit-Queue: Rakina Zata Amni <rakina@chromium.org> Cr-Commit-Position: refs/heads/master@{#642361}
Showing
Please register or sign in to comment