Handle large rects better.

Handling rects that are essentially infinite in one or two directions
is not symmetric because we use an assymetric representation for
many.  We have to be careful not to overflow our representation(s)
around these to keep as much meaningful state as possible.

BUG=None
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel

Review-Url: https://codereview.chromium.org/2744423002
Cr-Commit-Position: refs/heads/master@{#460848}


CrOS-Libchrome-Original-Commit: 9711f036f202f53ae0bfa6bb6195c3e61ecae274
6 files changed
tree: 6c6484126d836e2674ae143085213ba1da34d7b2
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/