DescriptionFixes possible use after free in SessionService
SessionService::GetLastSession used a base::Unretained but there was
no guarantee that the SessionService would be valid by the time the
callback was processed.
BUG=399655
TEST=covered by test now
R=marja@chromium.org
Committed: https://crrev.com/1a14f497bd17d41d0e0ffceb1fb23dea507b8eae
Cr-Commit-Position: refs/heads/master@{#291985}
Patch Set 1 #Patch Set 2 : tweak #
Total comments: 1
Patch Set 3 : remove friend #
Messages
Total messages: 13 (0 generated)
|