| Index: mash/task_viewer/task_viewer.cc
|
| diff --git a/mash/task_viewer/task_viewer.cc b/mash/task_viewer/task_viewer.cc
|
| index cdc03e76ff8397c3f8675a3e1c0c263180475b1c..3ba471f012c2ab50b06e8dca9dcee46cc5596c14 100644
|
| --- a/mash/task_viewer/task_viewer.cc
|
| +++ b/mash/task_viewer/task_viewer.cc
|
| @@ -294,9 +294,12 @@ void TaskViewer::RemoveWindow(views::Widget* widget) {
|
| }
|
|
|
| void TaskViewer::OnStart() {
|
| - aura_init_ = base::MakeUnique<views::AuraInit>(
|
| - context()->connector(), context()->identity(), "views_mus_resources.pak",
|
| - std::string(), nullptr, views::AuraInit::Mode::AURA_MUS);
|
| + aura_init_ = base::MakeUnique<views::AuraInit>();
|
| + if (!aura_init_->Init(context()->connector(), context()->identity(),
|
| + "views_mus_resources.pak", std::string(), nullptr,
|
| + views::AuraInit::Mode::AURA_MUS)) {
|
| + context()->QuitNow();
|
| + }
|
| }
|
|
|
| void TaskViewer::OnBindInterface(
|
|
|