Chromium Code Reviews
DescriptionDon't create MostVisitedSites in incognito
With NTPTilesInInstantService enabled, InstantService attempts to create
a MostVisitedSites instance even in incognito profiles, which caused a
crash.
This CL changes ChromeMostVisitedSitesFactory to return nullptr for
incognito profiles, and also updates InstantService to properly handle
the returned nullptr.
BUG=687507
Review-Url: https://codereview.chromium.org/2672443002
Cr-Commit-Position: refs/heads/master@{#447495}
Committed: https://chromium.googlesource.com/chromium/src/+/837e405817fcb63cd3652381d3fb8aae3c28e16d
Patch Set 1 #
Total comments: 3
Messages
Total messages: 15 (9 generated)
|
||||||||||||||||||||||||||||