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

Unified Diff: chrome/browser/chromeos/arc/arc_policy_bridge.cc

Issue 2172023002: chrome/browser/chromeos: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/chromeos/arc/arc_policy_bridge.cc
diff --git a/chrome/browser/chromeos/arc/arc_policy_bridge.cc b/chrome/browser/chromeos/arc/arc_policy_bridge.cc
index e15439822ffd20cb062be3391af0ca35fa8ec1f5..b65dac82347ebeb890c707d563ee17758a1ac23d 100644
--- a/chrome/browser/chromeos/arc/arc_policy_bridge.cc
+++ b/chrome/browser/chromeos/arc/arc_policy_bridge.cc
@@ -306,7 +306,7 @@ void ArcPolicyBridge::InitializePolicyService() {
user_manager::UserManager::Get()->GetPrimaryUser();
Profile* const profile =
chromeos::ProfileHelper::Get()->GetProfileByUser(primary_user);
- auto profile_policy_connector =
+ auto* profile_policy_connector =
policy::ProfilePolicyConnectorFactory::GetForBrowserContext(profile);
policy_service_ = profile_policy_connector->policy_service();
is_managed_ = profile_policy_connector->IsManaged();

Powered by Google App Engine
This is Rietveld 408576698