Null out context_factory in window_tree_host on shutdown

A context factory is specific to a particular native viewport so we
shouldn't leak it between different WindowTreeHostImpl instances. This
fixes some crashes in mojo_view_manager_unittests.

R=sky@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#291196}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291196 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: d531003da4e6f9d6e7624e5eaf4649584314fee3
1 file changed
tree: 63ff332d77aaf67fd30716478c38ccfbe72ae124
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/