Index: components/sync/driver/about_sync_util.cc |
diff --git a/components/sync/driver/about_sync_util.cc b/components/sync/driver/about_sync_util.cc |
index b1863dcb08a7e56ad182d259cf16a1a688ba573b..ad7ce999e70a0c06d1ca60b83d86fae7e946ff64 100644 |
--- a/components/sync/driver/about_sync_util.cc |
+++ b/components/sync/driver/about_sync_util.cc |
@@ -278,7 +278,6 @@ std::string GetConnectionStatus(const SyncService::SyncTokenStatus& status) { |
// classes defined above. |
std::unique_ptr<base::DictionaryValue> ConstructAboutInformation( |
SyncService* service, |
- SigninManagerBase* signin, |
version_info::Channel channel) { |
std::unique_ptr<base::DictionaryValue> about_info( |
new base::DictionaryValue()); |
@@ -434,8 +433,8 @@ std::unique_ptr<base::DictionaryValue> ConstructAboutInformation( |
sync_id.SetValue(full_status.sync_id); |
if (is_status_valid && !full_status.invalidator_client_id.empty()) |
invalidator_id.SetValue(full_status.invalidator_client_id); |
- if (signin) |
- username.SetValue(signin->GetAuthenticatedAccountInfo().email); |
+ if (service->signin()) |
+ username.SetValue(service->signin()->GetAuthenticatedAccountInfo().email); |
const SyncService::SyncTokenStatus& token_status = |
service->GetSyncTokenStatus(); |