Chromium Code Reviews
DescriptionFix use-after-free of Profile after it's been destroyed.
Make AccessibilityEventRouterViews listen for NOTIFICATION_PROFILE_DESTROYED
so that it can clear its most_recent_profile_ variable. Also fix call to
g_browser_process->profile_manager()->GetLastUsedProfile() because I
observed that profile_manager can sometimes be NULL during startup.
Warn if no valid profile is found, but this is non-fatal as long as it's
just a transient condition during startup/shutdown.
BUG=223276
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192302
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address feedback #
Messages
Total messages: 8 (0 generated)
|
||||||||||||||||||||||||||||