DescriptionFix a crash on showing sync setup dialog in guest mode.
Navigating directly to chrome://settings/syncSetup in guest mode is causing a DCHECK() failure, since the ProfileSyncService is NULL in the guest mode.
This patch adds a NULL check on ProfileSyncService to fix the crash
and also terminates the sync setup if the service is NULL.
BUG=370861
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269566
Patch Set 1 #Patch Set 2 : Add test #
Messages
Total messages: 13 (0 generated)
|