base::OffsetAdjuster: Refactor offset limiting logic into the base::OffsetAdjuster
Previously, almost all usages of OffsetAdjuster applied a post-processing step to clamp the resulting offsets to a "sane" range. This refactor moves the clamping into the base function, but as an optional parameter. This also reduces the API surface by removing the LimitOffset class. BUG=732582 Review-Url: https://codereview.chromium.org/2953943003 Cr-Commit-Position: refs/heads/master@{#486205}
Showing
Please register or sign in to comment