Index: ash/touch_hud/mus/touch_hud_application.cc |
diff --git a/ash/touch_hud/mus/touch_hud_application.cc b/ash/touch_hud/mus/touch_hud_application.cc |
index 59f138adcd5737dfc0c921dbfb43e888822ad63f..7bdd4176cff028b5df6ab7620676b27d9242dd27 100644 |
--- a/ash/touch_hud/mus/touch_hud_application.cc |
+++ b/ash/touch_hud/mus/touch_hud_application.cc |
@@ -69,9 +69,11 @@ TouchHudApplication::TouchHudApplication() : binding_(this) { |
TouchHudApplication::~TouchHudApplication() {} |
void TouchHudApplication::OnStart() { |
- aura_init_ = base::MakeUnique<views::AuraInit>( |
+ aura_init_ = views::AuraInit::Create( |
context()->connector(), context()->identity(), "views_mus_resources.pak", |
std::string(), nullptr, views::AuraInit::Mode::AURA_MUS); |
+ if (!aura_init_) |
+ context()->QuitNow(); |
} |
void TouchHudApplication::OnBindInterface( |