Before this patch it was possible that the root node would have incorrect bounds after removal of a direct descendant node. Fixes that and adds a unit test to detect it in the future.

BUG=373255

Review URL: https://codereview.chromium.org/278403004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270605 0039d316-1c4b-4281-b951-d872f2087c98


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