Add utility methods to SurfaceRange & Fix SurfaceRange::IsInRangeExclusive
This CL fixes SurfaceRange::IsInRangeExclusive in the case when the embed tokens are different by comparing with either ends of the range. In addition, it adds 2 extra utility functions to SurfaceRange which are needed to make the code cleaner for following work. Bug: 867531 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel Change-Id: Ia542e94b13c566989f3764c32cad4016bfddd32b Reviewed-on: https://chromium-review.googlesource.com/1159100 Commit-Queue: Andre Kaba <akaba@google.com> Commit-Queue: Fady Samuel <fsamuel@chromium.org> Reviewed-by:Fady Samuel <fsamuel@chromium.org> Reviewed-by:
Saman Sami <samans@chromium.org> Cr-Commit-Position: refs/heads/master@{#580313}
Showing
Please register or sign in to comment