Index: chrome/browser/ui/webui/settings/people_handler.cc |
diff --git a/chrome/browser/ui/webui/settings/people_handler.cc b/chrome/browser/ui/webui/settings/people_handler.cc |
index c425b38a370af8e21d6edd647d8dd644f8ee5d5a..f180eb4ab9d2e91f18fe89962ec55cef31bc1190 100644 |
--- a/chrome/browser/ui/webui/settings/people_handler.cc |
+++ b/chrome/browser/ui/webui/settings/people_handler.cc |
@@ -774,7 +774,7 @@ scoped_ptr<base::DictionaryValue> PeopleHandler::GetSyncStateDictionary() { |
// Cannot display signin status when running in guest mode on chromeos |
// because there is no SigninManager. |
sync_status->SetBoolean("signinAllowed", false); |
- return sync_status.Pass(); |
+ return sync_status; |
} |
sync_status->SetBoolean("supervisedUser", profile_->IsSupervised()); |
@@ -821,7 +821,7 @@ scoped_ptr<base::DictionaryValue> PeopleHandler::GetSyncStateDictionary() { |
sync_status->SetString("name", name); |
sync_status->SetString("iconURL", icon_url); |
- return sync_status.Pass(); |
+ return sync_status; |
} |
bool PeopleHandler::IsExistingWizardPresent() { |