Index: chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.cc |
diff --git a/chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.cc |
index f0afccabc750f6a8c70139531014e1f02234967f..cacbc6cc491e77a32f94739016078a0924f2b280 100644 |
--- a/chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.cc |
+++ b/chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.cc |
@@ -34,11 +34,11 @@ ash::ShelfAction ArcPlaystoreShortcutLauncherItemController::ItemSelected( |
ArcAppListPrefs::Get(controller()->profile()); |
DCHECK(arc_app_prefs); |
- const bool arc_was_enabled = arc_session_manager->IsArcPlayStoreEnabled(); |
+ const bool play_was_enabled = arc_session_manager->IsArcPlayStoreEnabled(); |
arc_session_manager->SetArcPlayStoreEnabled(true); |
// Deferred launcher. |
- if (arc_app_prefs->IsRegistered(arc::kPlayStoreAppId) && arc_was_enabled) { |
+ if (arc_app_prefs->IsRegistered(arc::kPlayStoreAppId) && play_was_enabled) { |
// Known apps can be launched directly or deferred. |
arc::LaunchApp(controller()->profile(), arc::kPlayStoreAppId, true); |
} else { |