athena: Fix a use-after-free case.
commit5b3dc24a11aa5386d567a6363e97433c2a152117
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 14 Aug 2014 05:15:01 +0000 (14 05:15 +0000)
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 14 Aug 2014 05:16:34 +0000 (14 05:16 +0000)
tree5e0ca7db156650c2842d725e7e96f0d6817191d2
parent71ea825963655f8fd3eee7e3d20bdff054c707d0
athena: Fix a use-after-free case.

|split_view_controller_| depends on |mru_window_tracker_|. So destroy them
in the correct order to avoid the use-after-free when destroying the window
manager.

BUG=none
TBR=mfomitchev@chromium.org, oshima@chromium.org

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

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