Revert "Add sanity checks to text properties bounds in RenderText"
This reverts commit 8815502e. Reason for revert: The bug is fixed, this code is now useless Original change's description: > Add sanity checks to text properties bounds in RenderText > > This CL is adding sanity check to ensure no components in chrome are > using incorrectly the RenderText API. > > We recently observed a crash (crbug/1124118) that was caused by > setting a property outside of the text bounds. > > The RenderText API assume correct uses of these properties. With this > CL they will be reported as a crash reports. > > Bug: 1142020 > Change-Id: I58d19bbbfeca97ad8425706eb85a825105db9f21 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518895 > Commit-Queue: Etienne Bergeron <etienneb@chromium.org> > Reviewed-by: Michael Wasserman <msw@chromium.org> > Cr-Commit-Position: refs/heads/master@{#823866} TBR=msw@chromium.org,etienneb@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 1142020 Change-Id: Id5ddc6f9967c267ad6fe6e9be38395d469ff868a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2523331Reviewed-by:Etienne Bergeron <etienneb@chromium.org> Reviewed-by:
Michael Wasserman <msw@chromium.org> Commit-Queue: Michael Wasserman <msw@chromium.org> Cr-Commit-Position: refs/heads/master@{#824972}
Showing
Please register or sign in to comment