angler-fishThe Vulnerability History Project

Fixes 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

Review URL: https://codereview.chromium.org/500143002

Cr-Commit-Position: refs/heads/master@{#291985}
    
commit 1a14f497bd17d41d0e0ffceb1fb23dea507b8eae
+5 -2
+1 -1
+3 -5
-3
-6
-8
+2 -51
expand_less