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
Showing
Please register or sign in to comment