Avoid a double delete of BrowserUI on shutdown.
commit29eee4c6e0ec25ce65c530f3db88c1ffc8c1ae72
authorjam <jam@chromium.org>
Mon, 18 May 2015 20:05:32 +0000 (18 13:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 18 May 2015 20:05:31 +0000 (18 20:05 +0000)
treeed2204de1db42381ff1519814a6efe41179f87fe
parentb53a987a83e2d5ce48de50363cd8202a644d6303
Avoid a double delete of BrowserUI on shutdown.

Otherwise when Browser::OnViewManagerDisconnected gets called, Browser::ui_ will get deleted twice.

This is split off https://codereview.chromium.org/1139673003

BUG=484234

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

Cr-Commit-Position: refs/heads/master@{#330384}
mandoline/ui/browser/browser.cc