| Index: chrome/browser/chromeos/login/wizard_in_process_browser_test.cc
|
| diff --git a/chrome/browser/chromeos/login/wizard_in_process_browser_test.cc b/chrome/browser/chromeos/login/wizard_in_process_browser_test.cc
|
| index f203df909310a163b2d87a4925e82856ec661d54..49d38f85d70c8e144047b6e40a720822b24fc356 100644
|
| --- a/chrome/browser/chromeos/login/wizard_in_process_browser_test.cc
|
| +++ b/chrome/browser/chromeos/login/wizard_in_process_browser_test.cc
|
| @@ -34,7 +34,7 @@ Browser* WizardInProcessBrowserTest::CreateBrowser(Profile* profile) {
|
|
|
| void WizardInProcessBrowserTest::CleanUpOnMainThread() {
|
| // LoginDisplayHost owns controllers and all windows.
|
| - delete host_;
|
| + MessageLoopForUI::current()->DeleteSoon(FROM_HERE,host_);
|
|
|
| // Observers and what not are notified after the views are deleted, which
|
| // happens after a delay (because they are contained in a WidgetGtk which
|
|
|