It looks like the unit tests instantiate the TaskManagerView without actually creating the window it lives in. Make sure the table is only allocated and initialized when it's inserted into a view hierarchy to avoid leaking the columns.
It looks like the unit tests instantiate the TaskManagerView without actually creating the window it lives in. Make sure the table is only allocated and initialized when it's inserted into a view hierarchy to avoid leaking the columns.

BUG=none
TEST=purify unit test bot
Review URL: http://codereview.chromium.org/118199

git-svn-id: http://src.chromium.org/svn/trunk/src@17573 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: 27af4f317cff7b88303c02a2ae1c1cd86b4870b5
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser