Handle overflow in cc RTree
Updates the cc RTree class to handle overflow: - GetBounds becomes GetBoundsOrDie and can only be called when has_valid_bounds(). - All other functions are unchanged, operating correctly, but less efficiently, when !has_valid_bounds(). Updates DisplayItemList to handle cases when !has_valid_bounds(). Bug: 988590 Change-Id: I8612c5e219a7aa9774fc24cb69372df975562bbc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1777049 Commit-Queue: Eric Karl <ericrk@chromium.org> Reviewed-by:Philip Rogers <pdr@chromium.org> Reviewed-by:
enne <enne@chromium.org> Cr-Commit-Position: refs/heads/master@{#692247}
Showing
Please register or sign in to comment