| Index: mash/example/window_type_launcher/window_type_launcher.cc
|
| diff --git a/mash/example/window_type_launcher/window_type_launcher.cc b/mash/example/window_type_launcher/window_type_launcher.cc
|
| index 021135e48a4d113bf8ab07c17f152418dcb5bf8c..fd4ab1b2b680a3d6046516f246ac5846f33458c4 100644
|
| --- a/mash/example/window_type_launcher/window_type_launcher.cc
|
| +++ b/mash/example/window_type_launcher/window_type_launcher.cc
|
| @@ -453,9 +453,12 @@ void WindowTypeLauncher::RemoveWindow(views::Widget* window) {
|
| }
|
|
|
| void WindowTypeLauncher::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 WindowTypeLauncher::OnBindInterface(
|
|
|