Fixes to get view_manager_lib_unittests not crash

. ICU may be initialized twice: once by the test suite, secondly by
  the app.
. window_mamanger_app_.host_ may be deleted by the time we get to the
  destructor to try and remove something. Add check for this.

BUG=none
TEST=none
R=viettrungluu@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#292929}


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