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

Unified Diff: chrome/browser/supervised_user/supervised_user_interstitial.cc

Issue 787803002: Cleanup: remove SupervisedUserService::IsChildAccount. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/supervised_user/supervised_user_interstitial.cc
diff --git a/chrome/browser/supervised_user/supervised_user_interstitial.cc b/chrome/browser/supervised_user/supervised_user_interstitial.cc
index d45a7519752bd4f8aaf5e962e652de6e17abf6ed..dc1f3e9a7f3bf5c7414c9b921759153ef0ae088e 100644
--- a/chrome/browser/supervised_user/supervised_user_interstitial.cc
+++ b/chrome/browser/supervised_user/supervised_user_interstitial.cc
@@ -192,7 +192,7 @@ std::string SupervisedUserInterstitial::GetHTMLContents() {
strings.SetString("secondAvatarURL2x", BuildAvatarImageUrl(profile_image_url2,
kAvatarSize2x));
- bool is_child_account = supervised_user_service->IsChildAccount();
+ bool is_child_account = profile_->IsChild();
base::string16 custodian =
base::UTF8ToUTF16(supervised_user_service->GetCustodianName());

Powered by Google App Engine
This is Rietveld 408576698