Index: chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc |
diff --git a/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc b/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc |
index 524356f9532e810c27b3e4face48b78b14aab847..f627149f81d6fb1ae7f3b808dba19c2c9f713ea1 100644 |
--- a/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc |
+++ b/chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc |
@@ -131,7 +131,8 @@ void ArcAppDeferredLauncherController::OnAppReadyChanged( |
Close(app_id); |
- arc::LaunchApp(owner_->GetProfile(), app_id); |
+ DCHECK(observed_profile_); |
+ arc::LaunchApp(observed_profile_, app_id); |
khmel
2016/09/15 20:13:44
Arc is associated with primary profile and we have
|
} |
void ArcAppDeferredLauncherController::OnAppRemoved(const std::string& app_id) { |