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 ffb02c86bbe84b5c77c26634ee626ccb6f7097a1..b0a5a93500bf03c8e80d35dff3c4f10941287c4f 100644 |
--- a/chrome/browser/ui/webui/settings/people_handler.cc |
+++ b/chrome/browser/ui/webui/settings/people_handler.cc |
@@ -4,6 +4,8 @@ |
#include "chrome/browser/ui/webui/settings/people_handler.h" |
+#include <string> |
+ |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
#include "base/command_line.h" |
@@ -601,7 +603,7 @@ void PeopleHandler::HandleShowSetupUI(const base::ListValue* args) { |
// If a setup wizard is present on this page or another, bring it to focus. |
// Otherwise, display a new one on this page. |
if (!FocusExistingWizardIfPresent()) |
- OpenSyncSetup(args); |
+ OpenSyncSetup(nullptr); |
} |
#if defined(OS_CHROMEOS) |
@@ -617,7 +619,7 @@ void PeopleHandler::HandleDoSignOutOnAuthError(const base::ListValue* args) { |
void PeopleHandler::HandleStartSignin(const base::ListValue* args) { |
// Should only be called if the user is not already signed in. |
DCHECK(!SigninManagerFactory::GetForProfile(profile_)->IsAuthenticated()); |
- OpenSyncSetup(args); |
+ OpenSyncSetup(nullptr); |
} |
void PeopleHandler::HandleStopSyncing(const base::ListValue* args) { |