Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(455)

Unified Diff: chrome/browser/ui/ash/launcher/arc_app_deferred_launcher_controller.cc

Issue 2345043002: arc: Prevent showing Arc app window for secondary user profile. (Closed)
Patch Set: refactored Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..4f8152ff810fc77581f9e15d921e374675891223 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,7 @@ void ArcAppDeferredLauncherController::OnAppReadyChanged(
Close(app_id);
- arc::LaunchApp(owner_->GetProfile(), app_id);
+ arc::LaunchApp(observed_profile_, app_id);
}
void ArcAppDeferredLauncherController::OnAppRemoved(const std::string& app_id) {

Powered by Google App Engine
This is Rietveld 408576698