Fix scrollbar overflow with ScaleToEnclosingRectSafe
ScaleToEnclosingRect DCHECKS that the scale that's being done won't overflow, however this can't be known because the scrollbar's internal scale is determined by page content. Clamp these values safely instead of DCHECKing. R=danakj@chromium.org BUG=652604 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Review-Url: https://codereview.chromium.org/2384063007 Cr-Commit-Position: refs/heads/master@{#422987}
Showing
Please register or sign in to comment